From b38e9716d32a31ce86486af1c2df47821db95390 Mon Sep 17 00:00:00 2001 From: TheWitness Date: Fri, 30 Jul 2021 18:51:50 -0400 Subject: [PATCH] Update the kernel options to disable selinux Was having issues building a diskless image for RHEL8 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index b73fb78ee..6dfa247ce 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -762,7 +762,7 @@ sub mknetboot } # turn off the selinux - if ($osver =~ m/(fedora12|fedora13|rhels7)/) { + if ($osver =~ m/(fedora12|fedora13|rhels7|rhels8)/) { $kcmdline .= " selinux=0 "; }