add message

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-06-17 18:03:04 +00:00
parent cc692c240b
commit e5a4ad7cba

View File

@ -1440,10 +1440,6 @@ sub chkosimage
return 0;
}
# get this systems name as known by xCAT management node
my $Sname = xCAT::InstUtils->myxCATname();
chomp $Sname;
# get the name of the primary NIM server
# - either the NIMprime attr of the site table or the management node
my $nimprime = xCAT::InstUtils->getnimprime();
@ -1543,6 +1539,13 @@ sub chkosimage
}
}
if ( scalar(@install_list) == 0) {
my $rsp;
push @{$rsp->{data}}, "\nThere was no additional software listed in the \'otherpkgs\' or \'installp_bundle\' attributes.\n";
xCAT::MsgUtils->message("I", $rsp, $callback);
return 0;
}
# get a list of software from the lpp_source dirs
my @srclist;