From d1b10a41099addb6e3afbfc84a9cd21f0ace7be7 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 13 May 2013 11:21:02 +0000 Subject: [PATCH] Change the kernel parameter name which passed to localdisk script to indicate the action git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 67247501c..7c2f2452a 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -842,7 +842,11 @@ sub mknetboot # add the cmdline parameters for handling the local disk for stateless if ($cfgpart eq "yes") { - $kcmdline .= " PARTITION"; + if ($statelite) { + $kcmdline .= " PARTITION_RH" + } else { + $kcmdline .= " PARTITION_DOMOUNT_RH" + } } # add the addkcmdline attribute to the end