2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 18:16:39 +00:00

Print more debug out

This commit is contained in:
Victor Hu 2019-06-03 14:13:29 -04:00
parent 4ac6be1cb2
commit 87ae1aa168

View File

@ -59,11 +59,15 @@ function check_destiny() {
cmd="makenetworks";
runcmd $cmd;
makehosts ${TESTNODE}
grep ${TESTNODE} /etc/hosts
cmd="nodeset ${TESTNODE} shell";
runcmd $cmd;
cmd="ifconfig $NET2 $NET2IP";
runcmd $cmd;
echo "Check if 'nodeset ${TESTNODE} shell' is added to ${SHELLFOLDER}/${TESTNODE}"
echo "==============================================="
cat "${SHELLFOLDER}/${TESTNODE}"
echo "==============================================="
cat "${SHELLFOLDER}/${TESTNODE}" |grep "xcatd=${MASTER_PRIVATE_IP}:3001 destiny=shell";
if [[ $? -eq 0 ]] ;then
return 0;