From 65032f72e5e5f2af61d68fa427da81813f88b0c4 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 9 Apr 2012 14:05:25 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/esx.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index e4b04afac..5d2f5a9ca 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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'));