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:
parent
4ac6be1cb2
commit
87ae1aa168
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user