Fix bug in esx.pm where spurious data could find its way into the nicmodel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -3079,9 +3079,13 @@ sub create_nic_devs { | ||||
|            $pgname = $hyphash{$hyp}->{pgnames}->{$_}; | ||||
|         } | ||||
|         s/.*://; | ||||
|         s/=(.*)$//; | ||||
|         my $hadspecmodel=0; | ||||
|         if (m/=/) { | ||||
|             $hadspecmodel=1; | ||||
|             s/=(.*)$//; | ||||
|         } | ||||
|         my $tmpmodel=$model; | ||||
|         if ($1) { $tmpmodel=$1; } | ||||
|         if ($hadspecmodel) { $tmpmodel=$1; } | ||||
|         my $netname = $_; | ||||
|         my $backing = VirtualEthernetCardNetworkBackingInfo->new( | ||||
|             network => $netmap->{$pgname}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user