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

Merge pull request #3831 from hu-weihua/updatenode

Fix bug #3737 in automation environment
This commit is contained in:
Gᴏɴɢ Jie
2017-09-01 13:30:26 +08:00
committed by GitHub

View File

@@ -6,6 +6,8 @@ cmd:echo "/tmp/non-existent -> /etc/motd" > /install/custom/install/__GETNODEATT
check:rc==0
cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute synclists=/install/custom/install/__GETNODEATTR($$CN,os)__/booboo.synclist
check:rc==0
cmd:nodeset $$CN osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
check:rc==0
cmd:updatenode $$CN -F >/tmp/updatenode.F.out
check:rc!=0
cmd:grep '"/tmp/non-existent" failed: No such file or directory' /tmp/updatenode.F.out