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

Merge pull request #6963 from gurevichmark/diskless_test_rmimage

Regression testcase improvements
This commit is contained in:
besawn
2021-05-04 14:44:43 -04:00
committed by GitHub

View File

@@ -107,6 +107,9 @@ cmd:xdsh $$CN "cd /xcatpost; rmdir -p dir1/dir2/dir3"
check:rc==0
cmd:chdef -m -t node -o $$CN postscripts="dir1/dir2/dir3/foo.bar"
check:rc==0
# Remove diskless image to free up disk space
cmd:rmimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
end
start:reg_linux_diskless_installation_hierarchy_squashfs
@@ -206,5 +209,8 @@ cmd:if [ -x /usr/bin/goconserver ]; then makegocons -d $$CN; else makeconserverc
cmd:if [[ -f /test.synclist.bak ]] ;then mv -f /test.synclist.bak /test.synclist;else rm -rf /test.synclist;fi
cmd:chdef -t osimage -o __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute synclists=
check:rc==0
# Remove diskless image to free up disk space
cmd:rmimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
check:rc==0
end