Skip to content

Commit

Permalink
Merge pull request #6 from maniaclab/add-passwd
Browse files Browse the repository at this point in the history
Add passwd
  • Loading branch information
LincolnBryant authored Aug 21, 2024
2 parents 716e60f + fe2bf4c commit fb75d26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions condor/01-role.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ use ROLE : Execute
EXECUTE=/scratch
DOCKER=/usr/local/libexec/condor-docker
STARTER_JOB_ENVIRONMENT= SITE_NAME=MWT2
DOCKER_VOLUMES = DATA
DOCKER_VOLUMES = DATA,PW
DOCKER_VOLUME_DIR_DATA = /data
DOCKER_MOUNT_VOLUMES = DATA
DOCKER_VOLUME_DIR_PW = /etc/passwd
DOCKER_MOUNT_VOLUMES = DATA, PW
DOCKER_LOG_DRIVER_NONE = false
1 change: 1 addition & 0 deletions scripts/sync_users_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fb75d26

Please sign in to comment.