Increment wait time before logoff.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2011-10-05 18:04:33 +00:00
parent e847e97266
commit d09d281278

View File

@ -1257,7 +1257,7 @@ sub powerVM {
# Power off virtual server (gracefully)
elsif ( $args->[0] eq 'softoff' ) {
$out = `ssh -o ConnectTimeout=10 $node "shutdown -h now"`;
sleep(25);
sleep(90); # Wait 1.5 minutes before logging user off
$out = `ssh $hcp "$::DIR/stopvs $userId"`;
xCAT::zvmUtils->printLn( $callback, "$node: $out" );