From 2411f7bd2c4f2a806db81cfcac5d5d2bca0ab5f5 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 14 Jul 2010 11:54:19 +0000 Subject: [PATCH] turn off the selinux for fedora12/13 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 56ad42627..fa1bcfde8 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -518,6 +518,12 @@ sub mknetboot $kcmdline .= "n8r"; } } + + # turn off the selinux + if ($osver =~ m/fedora12/ || $osver =~ m/fedora13/) { + $kcmdline .= " selinux=0"; + } + # add the addkcmdline attribute to the end # of the command, if it exists #my $addkcmd = $addkcmdhash->{$node}->[0];