Increase lshwres timeout to 30 seconds - Line #550

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-03-05 18:55:47 +00:00
parent f2f0ffd6a8
commit 27f9bd30a5

View File

@ -542,11 +542,12 @@ sub rmvterm {
##########################################################################
sub lshwres {
my $exp = shift;
my $d = shift;
my $mtms = shift;
my $cmd = "lshwres -r @$d[1] -m $mtms -F @$d[2]";
my $level = @$d[0];
my $exp = shift;
my $d = shift;
my $mtms = shift;
my $cmd = "lshwres -r @$d[1] -m $mtms -F @$d[2]";
my $level = @$d[0];
my $timeout = 30;
#####################################
# level may be "sys" or "lpar"
@ -557,7 +558,7 @@ sub lshwres {
#####################################
# Send command
#####################################
my $result = send_cmd( $exp, $cmd );
my $result = send_cmd( $exp, $cmd, $timeout );
return( $result );
}