From 293f9490b9184549bd2c50b5e7ac53fdc416d4ad Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 11 Jul 2012 07:23:06 +0000 Subject: [PATCH] fix bug for specify partion file git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/anaconda.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index c7f5b07d2..66814f321 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -983,14 +983,13 @@ sub mkinstall if ( $ref1 and $ref1->{'partitionfile'}){ $partfile = $ref1->{'partitionfile'}; } - - #can not find the linux osiamge object, tell users to run "nodeset osimage=***" - else { + } + #can not find the linux osiamge object, tell users to run "nodeset osimage=***" + else { $callback->( { error => [qq{ Cannot find the linux image called "$imgname", maybe you need to use the "nodeset osimage=" command to set the boot state}], errorcode => [1] } ); } - } } my @missingparms;