diff --git a/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x b/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x index 58f7c9a0c..da1d2e757 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.rhel5.s390x @@ -13,7 +13,7 @@ RAND=$(perl -e 'print int(rand(50)). "\n"') sleep $RAND # Loop through the master/service nodes -for i in $(seq 1 20) +for t in $(seq 1 20) do GOTIT=0 for i in $MASTER_IPS @@ -141,4 +141,4 @@ echo "$TMP" > /tmp/mypostscript /tmp/mypostscript # Master/service node variable set by nodeset -updateflag.awk replace_master 3002 \ No newline at end of file +updateflag.awk replace_master 3002 diff --git a/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x b/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x index 4314c361a..381308915 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x @@ -13,7 +13,7 @@ RAND=$(perl -e 'print int(rand(50)). "\n"') sleep $RAND # Loop through the master/service nodes -for i in $(seq 1 20) +for j in $(seq 1 20) do GOTIT=0 for i in $MASTER_IPS @@ -144,4 +144,4 @@ echo "$TMP" > /tmp/mypostscript updateflag.awk replace_master 3002 # Restore default SELinux security context -restorecon -R -v /root/.ssh \ No newline at end of file +restorecon -R -v /root/.ssh diff --git a/xCAT-server/share/xcat/install/scripts/post.sles10.s390x b/xCAT-server/share/xcat/install/scripts/post.sles10.s390x index b922bf6e9..f9f19baee 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles10.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.sles10.s390x @@ -23,7 +23,7 @@ HOSTNAME=$(hostname -s) # These variables are set by nodeset export MASTER_IPS=( replace_master ) -for i in $(seq 1 20) +for t in $(seq 1 20) do GOTIT=0 diff --git a/xCAT-server/share/xcat/install/scripts/post.sles11.s390x b/xCAT-server/share/xcat/install/scripts/post.sles11.s390x index 8e362c8b6..f96a347e7 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles11.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.sles11.s390x @@ -19,7 +19,7 @@ HOSTNAME=$(hostname -s) # These variables are set by nodeset export MASTER_IPS=( replace_master ) -for i in $(seq 1 20) +for t in $(seq 1 20) do GOTIT=0