2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

Merge pull request #6497 from cxhong/masterip

Regression test failed on the nodeset_shell_incorrectmasterip
This commit is contained in:
cxhong
2019-11-26 16:03:59 -05:00
committed by GitHub

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;