From a30ea2c1fea24e3878ada1de790f1a957efd5f36 Mon Sep 17 00:00:00 2001 From: "Jonathan Gonzalez V." Date: Fri, 2 Aug 2024 16:53:50 +0200 Subject: [PATCH] fix: add missing field to passwd entry The the passwd entry was missing the `user info` field and this was leading to assume `/bin/bash` as the home directory, so the ssh configuration was being picked up from `/bin/bash/.ssh/config` which fails. Signed-off-by: Jonathan Gonzalez V. --- common/scripts/pattern-util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/scripts/pattern-util.sh b/common/scripts/pattern-util.sh index 9cec19fa..c05a25c8 100755 --- a/common/scripts/pattern-util.sh +++ b/common/scripts/pattern-util.sh @@ -38,7 +38,7 @@ else MYNAME=$(id -n -u) MYUID=$(id -u) MYGID=$(id -g) - PODMAN_ARGS="--passwd-entry ${MYNAME}:x:${MYUID}:${MYGID}:/pattern-home:/bin/bash --user ${MYUID}:${MYGID} --userns keep-id:uid=${MYUID},gid=${MYGID}" + PODMAN_ARGS="--passwd-entry ${MYNAME}:x:${MYUID}:${MYGID}::/pattern-home:/bin/bash --user ${MYUID}:${MYGID} --userns keep-id:uid=${MYUID},gid=${MYGID}" fi if [ -n "$KUBECONFIG" ]; then