mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 10:52:31 +00:00 
			
		
		
		
	Increase default command timeout to 20 seconds - Line #719
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -71,7 +71,7 @@ sub connect { | ||||
|     my $verbose    = shift; | ||||
|     my $pwd_prompt = 'assword: $'; | ||||
|     my $continue   = 'continue connecting (yes/no)?'; | ||||
|     my $timeout    = 10; | ||||
|     my $timeout    = 15; | ||||
|     my $success    = 0; | ||||
|     my $pwd_sent   = 0; | ||||
|     my $expect_log; | ||||
| @@ -379,11 +379,6 @@ sub chsysstate { | ||||
|         $ssh->send( "$cmd\r" ); | ||||
|         return( [SUCCESS,"Success"] ); | ||||
|     } | ||||
|     ##################################### | ||||
|     # Increase timeout for power command  | ||||
|     ##################################### | ||||
|     my $timeout = 15;  | ||||
|  | ||||
|     ##################################### | ||||
|     # Send command | ||||
|     ##################################### | ||||
| @@ -721,7 +716,7 @@ sub send_cmd { | ||||
|     # Set default Expect timeout  | ||||
|     ########################################## | ||||
|     if ( !defined( $timeout )) { | ||||
|         $timeout = 10; | ||||
|         $timeout = 20; | ||||
|     } | ||||
|     ########################################## | ||||
|     # Send command  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user