fix a defect for supporing parameters in updatenode -P
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a1b27d099b
commit
0f302dbc58
@ -1061,11 +1061,11 @@ $AIXnodes_nd, $subreq ) != 0 ) {
|
||||
}
|
||||
my $args1;
|
||||
if ($::SETSERVER) {
|
||||
$args1 = ["-s", "-v", "-e", "$installdir/postscripts/xcatdsklspost $mode -M $snkey $postscripts"];
|
||||
$args1 = ["-s", "-v", "-e", "$installdir/postscripts/xcatdsklspost $mode -M $snkey '$postscripts'"];
|
||||
|
||||
} else {
|
||||
|
||||
$args1 = ["-s", "-v", "-e", "$installdir/postscripts/xcatdsklspost $mode -m $snkey $postscripts"];
|
||||
$args1 = ["-s", "-v", "-e", "$installdir/postscripts/xcatdsklspost $mode -m $snkey '$postscripts'"];
|
||||
}
|
||||
|
||||
|
||||
@ -1134,9 +1134,9 @@ $AIXnodes_nd, $subreq ) != 0 ) {
|
||||
}
|
||||
|
||||
if ($::SETSERVER) {
|
||||
$cmd = "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -v -e $installdir/postscripts/xcataixpost -M $snkey -c $mode $postscripts 2>&1";
|
||||
$cmd = "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -v -e $installdir/postscripts/xcataixpost -M $snkey -c $mode '$postscripts' 2>&1";
|
||||
} else {
|
||||
$cmd = "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -v -e $installdir/postscripts/xcataixpost -m $snkey -c $mode $postscripts 2>&1";
|
||||
$cmd = "XCATBYPASS=Y $::XCATROOT/bin/xdsh $nodestring -s -v -e $installdir/postscripts/xcataixpost -m $snkey -c $mode '$postscripts' 2>&1";
|
||||
}
|
||||
|
||||
if ($::VERBOSE)
|
||||
|
Loading…
Reference in New Issue
Block a user