2
0
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:
Daniel Hilst
2026-10-21 10:58:07 -03:00
parent cec69be3d2
commit 4e7cdef8ce
@@ -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