不要求使用root
This commit is contained in:
parent
3b6e15310f
commit
df6a57a27f
@ -2,11 +2,6 @@
|
||||
|
||||
source .env
|
||||
|
||||
if [ $(id -u) != "0" ]; then
|
||||
echo "Error: You must be root to run this script"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 部署之前先分发 init 内容
|
||||
scp -r init/ root@${MASTER1}:/tmp/
|
||||
scp -r init/ root@${MASTER2}:/tmp/
|
||||
|
Loading…
Reference in New Issue
Block a user