2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

remove echo message to avoid duplicate.

This commit is contained in:
cxhong 2019-06-24 16:42:04 -04:00
parent 143092c818
commit 953c6cf7bd

View File

@ -39,17 +39,14 @@ function check_destiny() {
echo "There is no second network, could not verify the test"
return 1;
else
echo "Add ip addr $MASTER_PRIVATE_IP/$MASTER_PRIVATE_NETMASK to $NET2"
cmd="ip addr add $MASTER_PRIVATE_IP/$MASTER_PRIVATE_NETMASK dev $NET2";
runcmd $cmd;
echo "Running makenetworks command"
cmd="makenetworks";
runcmd $cmd;
makehosts ${TESTNODE}
grep ${TESTNODE} /etc/hosts
cmd="nodeset ${TESTNODE} shell";
runcmd $cmd;
echo "Delete ip addr $MASTER_PRIVATE_IP/$MASTER_PRIVATE_NETMASK from $NET2"
cmd="ip addr del $MASTER_PRIVATE_IP/$MASTER_PRIVATE_NETMASK dev $NET2";
runcmd $cmd;
echo "Check if 'nodeset ${TESTNODE} shell' is added to ${SHELLFOLDER}/${TESTNODE}"