From 05415e65889f5847258f022539326e8adeae3b88 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 13 May 2013 09:20:40 +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@16258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/sles.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 6986b7ad3..6f2b802b3 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -617,7 +617,11 @@ sub mknetboot } # add the cmdline parameters for handling the local disk for stateless if ($cfgpart eq "yes") { - $kcmdline .= " PARTITION"; + if ($statelite) { + $kcmdline .= " PARTITION_SLES"; + } else { + $kcmdline .= " PARTITION_DOMOUNT_SLES"; + } } my $initrdstr = "$rtftppath/initrd-stateless.gz";