mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-20 09:22:17 +00:00
fix(xcat-test): the statelite SELinux case has no image to boot
selinux_cn_statelite_disabled_by_design ran nodeset against the statelite osimage without building it. copycds declares the osimage, and nodeset needs the image tree and the litefile links that genimage and liteimg create, so the case failed on a fresh cluster for a reason that has nothing to do with SELinux. Build the image in the case. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -187,6 +187,10 @@ check:rc==0
|
||||
check:output=~^Enforcing$
|
||||
cmd:chdef -t node -o $$CN selinux=enforcing
|
||||
check:rc==0
|
||||
cmd:genimage $$STATELITE
|
||||
check:rc==0
|
||||
cmd:liteimg $$STATELITE
|
||||
check:rc==0
|
||||
cmd:nodeset $$CN osimage=$$STATELITE
|
||||
check:rc==0
|
||||
check:output=~SELinux is disabled
|
||||
|
||||
Reference in New Issue
Block a user