From abbedb8e3616702ff45109a1c0422e1f0d5cf0bd Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 9 May 2008 20:38:58 +0000 Subject: [PATCH] -Fix problem where way too many places were looked for stateless drivers in git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/netboot/rh/genimage | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server-2.0/share/xcat/netboot/rh/genimage b/xCAT-server-2.0/share/xcat/netboot/rh/genimage index e080b1ed0..33821e473 100755 --- a/xCAT-server-2.0/share/xcat/netboot/rh/genimage +++ b/xCAT-server-2.0/share/xcat/netboot/rh/genimage @@ -43,6 +43,7 @@ GetOptions( 't=s' => \$tmplimit, 'k=s' => \$kernelver ); +chomp($kernelver); unless ($osver and $profile and $netdriver and $prinic) { print 'Usage: genimage -i -n [-r ] -o -p -k '."\n"; print "Examples:\n";