Mise à jour fichier deployUsersv2.sh
This commit is contained in:
parent
8271f3984b
commit
18910e6b1a
@ -6,7 +6,7 @@ user=$user
|
||||
workdir=/$user/deploy
|
||||
ssh $user@$ip "mkdir $workdir" 2> /dev/null
|
||||
scp "./createGroups.sh" "./logins.csv" "Users.csv" "createUsers.sh" $user@$ip:$workdir
|
||||
ssh $user@$ip >> EOF
|
||||
ssh $user@$ip << EOF
|
||||
bash $workdir/createGroups.sh
|
||||
bash $workdir/createUsers.sh
|
||||
rm -R $workdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user