Modification du script deployUsers.sh
This commit is contained in:
parent
019d46462d
commit
f70ce994fa
@ -10,7 +10,8 @@ ssh $user@$ip "mkdir $workdir" 2> /dev/null
|
||||
scp "./createGroups.sh" "./logins.csv" "./Users.csv" "./createUsers.sh" $user@$ip:$workdir
|
||||
# Exécution les scripts
|
||||
ssh $user@$ip << EOF
|
||||
bash $workdir/createGroups.sh
|
||||
bash $workdir/createUsers.sh
|
||||
cd $workdir
|
||||
bash createGroups.sh
|
||||
bash createUsers.sh
|
||||
EOF
|
||||
ssh $user@$ip "rm -R $workdir"
|
Loading…
x
Reference in New Issue
Block a user