From 52d1725a0c6b8d1470be1fe315bf0973692229e4 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Sat, 27 Apr 2013 07:46:54 +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/trunk@16100 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";