Fix problem where ESXi clone from a non-xCAT template may fail in the face of xCAT mac address management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2390,6 +2390,7 @@ sub clone_task_callback { | ||||
| 	foreach $ndev (@{$nodeviews->[0]->config->hardware->device}) { | ||||
| 	  unless ($ndev->{macAddress}) { next; } #not an ndev | ||||
| 	  $ndev->{macAddress}=shift @macs; | ||||
| 	  $ndev->{addressType}="manual"; | ||||
| 	  push @devstochange, VirtualDeviceConfigSpec->new( | ||||
| 						device => $ndev, | ||||
| 						operation =>  VirtualDeviceConfigSpecOperation->new('edit')); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user