From fe2bf4ca015137eb0dfc0b3dac44b42aa78a5a9b Mon Sep 17 00:00:00 2001 From: Fengping Hu Date: Wed, 21 Aug 2024 11:13:07 -0500 Subject: [PATCH] copy /etc/passwd into dind via shared volume --- scripts/sync_users_wrapper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/sync_users_wrapper.sh b/scripts/sync_users_wrapper.sh index aa48240..cef7083 100755 --- a/scripts/sync_users_wrapper.sh +++ b/scripts/sync_users_wrapper.sh @@ -4,3 +4,4 @@ echo "Sleeping for $TIME seconds" sleep $TIME cd /usr/local/ciconnect source /usr/local/ciconnect/config && ./sync_users.sh -u root.atlas-af -g root.atlas-af -e https://api.ci-connect.net:18080 >> /var/log/provisioner.log 2>&1 +[[ -d /passwd ]] && cp /etc/passwd /passwd