fixed one issue on AIX that didn't handle the output well from ASMI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1815,13 +1815,14 @@ sub set_netcfg | ||||
|              #last HTML::Form. So let's take a guess of the type value | ||||
|              #Not sure if it can work for all AIX version | ||||
|         { | ||||
|             my @types = $interfaces->{ $real_inc_name}->{'type'}->possible_values(); | ||||
|             if ( $inc_type eq 'Dynamic') | ||||
|             { | ||||
|                 $interfaces->{ $real_inc_name}->{'type'}->value(1); | ||||
|                 $interfaces->{ $real_inc_name}->{'type'}->value(@types[0]); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 $interfaces->{ $real_inc_name}->{'type'}->value(0); | ||||
|                 $interfaces->{ $real_inc_name}->{'type'}->value(@types[1]); | ||||
|             } | ||||
|         } | ||||
| #not work on AIX | ||||
|   | ||||
		Reference in New Issue
	
	Block a user