Modification du script deployUsers.sh
This commit is contained in:
parent
f70ce994fa
commit
9bd886a3e0
@ -3,7 +3,7 @@
|
|||||||
# Première version
|
# Première version
|
||||||
ip=$1
|
ip=$1
|
||||||
user=root
|
user=root
|
||||||
workdir=/root/deploy
|
workdir=/$user/deploy
|
||||||
|
|
||||||
ssh $user@$ip "mkdir $workdir" 2> /dev/null
|
ssh $user@$ip "mkdir $workdir" 2> /dev/null
|
||||||
# Copie des scripts et fichiers
|
# Copie des scripts et fichiers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user