From a694e396e9c663903172fed4d7403bbace8ed545 Mon Sep 17 00:00:00 2001 From: ellen56 Date: Wed, 1 Apr 2009 10:50:36 +0000 Subject: [PATCH] fix bug 2724855 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 6f4da25f6..62bdeb65b 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -1282,19 +1282,6 @@ sub mknimimage return 1; } - # - # get spot resource - # - $spot_name=&mk_spot($lpp_source_name, $callback); - chomp $spot_name; - $newres{spot} = $spot_name; - if ( !defined($spot_name)) { - my $rsp; - push @{$rsp->{data}}, "Could not create spot definition.\n"; - xCAT::MsgUtils->message("E", $rsp, $callback); - return 1; - } - if ($::METHOD eq "rte" ) { # need lpp_source, spot & bosinst_data @@ -1342,7 +1329,20 @@ sub mknimimage return 1; } } - # + # + # get spot resource + # + $spot_name=&mk_spot($lpp_source_name, $callback); + chomp $spot_name; + $newres{spot} = $spot_name; + if ( !defined($spot_name)) { + my $rsp; + push @{$rsp->{data}}, "Could not create spot definition.\n"; + xCAT::MsgUtils->message("E", $rsp, $callback); + return 1; + } + + # # create resolv_conf # my $resolv_conf_name = &mk_resolv_conf($callback);