safim-scorer / execution_engine /create_users.sh
moreover's picture
Add old implementation
54af62c
raw
history blame
228 Bytes
echo $NUM_WORKERS
for (( i=0; i<$NUM_WORKERS; i++ ))
do
I_GID=$(($RUN_GID+$i))
I_UID=$(($RUN_UID+$i))
groupadd -g $I_GID runner$I_GID && useradd -M runner$I_UID -g $I_GID -u $I_UID
echo "Created " $(id runner$I_UID)
done