From df6a57a27f44035ae02c5e0158718551a4796297 Mon Sep 17 00:00:00 2001 From: zhanglikun Date: Fri, 2 Feb 2024 21:43:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E6=B1=82=E4=BD=BF=E7=94=A8ro?= =?UTF-8?q?ot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cluster.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cluster.sh b/cluster.sh index 25bce2b..750868a 100755 --- a/cluster.sh +++ b/cluster.sh @@ -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/