lpar_netboot() - increased timeout to 10 times default value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c8587f8e1f
commit
0ed6dfac60
@ -166,7 +166,7 @@ sub connect {
|
||||
} ],
|
||||
[ $pwd_prompt,
|
||||
sub {
|
||||
if ( ++$pwd_sent == 1 ) {
|
||||
if ( ++$pwd_sent ) {
|
||||
$ssh->send( "@$cred[1]\r" );
|
||||
$ssh->exp_continue();
|
||||
}
|
||||
@ -576,7 +576,7 @@ sub lpar_netboot {
|
||||
my $name = shift;
|
||||
my $d = shift;
|
||||
my $opt = shift;
|
||||
my $timeout = 600;
|
||||
my $timeout = my $t = @$exp[7]*10;
|
||||
my $cmd = "lpar_netboot -t ent -f";
|
||||
my $gateway = $opt->{G};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user