2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Regression test failed on the nodeset_shell_incorrectmasterip

This commit is contained in:
cxhong 2019-11-26 15:04:00 -05:00
parent 66288cceb4
commit 35f91f454e

View File

@ -23,7 +23,7 @@ MASTER_PRIVATE_NETWORK="192_168_0_0-255_255_0_0"
function check_destiny() {
cmd="chdef ${TESTNODE} arch=ppc64le cons=ipmi groups=all ip=${TESTNODE_IP} mac=4e:ee:ee:ee:ee:0e netboot=$NETBOOT";
cmd="chdef ${TESTNODE} arch=ppc64le cons=ipmi groups=all ip=${TESTNODE_IP} mac=4e:ee:ee:ee:ee:0e netboot=$NETBOOT" tftpserver=$MASTER_PRIVATE_IP xcatmaster=$MASTER_PRIVATE_IP;
runcmd $cmd;
lsdef ${TESTNODE}
@ -44,7 +44,8 @@ function check_destiny() {
cmd="makenetworks";
runcmd $cmd;
ip addr show
makehosts ${TESTNODE}
cmd="makehosts ${TESTNODE}"
runcmd $cmd
grep ${TESTNODE} /etc/hosts
cmd="nodeset ${TESTNODE} shell";
runcmd $cmd;