fix defect 3448413

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-12-02 17:10:38 +00:00
parent 912f061d3e
commit 966eaadba0

View File

@ -507,8 +507,14 @@ sub preprocess_updatenode
$req_rs->{postscripts} = [$ps];
updatenode($req_rs, \&updatenode_cb, $subreq);
}
if (scalar(@{$Linuxnodes})) {
$ps = "remoteshell,servicenode,xcatserver,xcatclient";
my $DBname = xCAT::Utils->get_DBName;
if ($DBname eq "DB2") {
$ps = "remoteshell,servicenode,xcatserver,xcatclient,db2install";
} else {
$ps = "remoteshell,servicenode,xcatserver,xcatclient";
}
$req_rs->{rerunps}->[0] = "yes";
$req_rs->{rerunps4security}->[0] = "yes";
$req_rs->{node} = $Linuxnodes;
@ -1036,8 +1042,13 @@ $AIXnodes_nd, $subreq ) != 0 ) {
if (scalar(@$Linuxnodes))
{
my $DBname = xCAT::Utils->get_DBName;
if ($orig_postscripts eq "allkeys44444444security") {
$postscripts = "remoteshell,servicenode,xcatserver,xcatclient";
if ($DBname eq "DB2") {
$postscripts = "remoteshell,servicenode,xcatserver,xcatclient,db2install";
} else {
$postscripts = "remoteshell,servicenode,xcatserver,xcatclient";
}
} else {
$postscripts = $orig_postscripts;
}