From b880d2b1a185a2fb834fcec24cc217ac09fc3026 Mon Sep 17 00:00:00 2001 From: phamt Date: Wed, 21 Sep 2011 13:58:59 +0000 Subject: [PATCH] Fixed boot problem in RHEL 6.1 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/zvm.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/zvm.pm b/xCAT-server/lib/xcat/plugins/zvm.pm index a9b44faa6..242c1bd7e 100644 --- a/xCAT-server/lib/xcat/plugins/zvm.pm +++ b/xCAT-server/lib/xcat/plugins/zvm.pm @@ -3467,8 +3467,10 @@ sub nodeSet { if ( $_ =~ m/ramdisk_size/i ) { $parmHeader = xCAT::zvmUtils->trimStr($_); - # Remove last parameter on RHEL6 - $parmHeader =~ s/cio_ignore=all,!0.0.0009//g; + # RHEL 6.1 needs cio_ignore in order to install + if ( !($os =~ m/rhel6.1/i) ) { + $parmHeader =~ s/cio_ignore=all,!0.0.0009//g; + } } }