From 4ad55ddfb73b022c76fb92b8cada3bb634907c38 Mon Sep 17 00:00:00 2001 From: "Carlos J. Herrera" Date: Thu, 4 Feb 2021 13:27:49 -0500 Subject: [PATCH] F #1048: consistent unique VM identification (#759) Signed-off-by: Carlos Herrera --- src/vmm_mad/remotes/vcenter/deploy | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vmm_mad/remotes/vcenter/deploy b/src/vmm_mad/remotes/vcenter/deploy index 72887efe3c..ab1f50c54a 100755 --- a/src/vmm_mad/remotes/vcenter/deploy +++ b/src/vmm_mad/remotes/vcenter/deploy @@ -97,6 +97,7 @@ begin spec_hash = {} spec_hash[:cpuHotAddEnabled] = vm.cpu_hot_add_enabled? spec_hash[:memoryHotAddEnabled] = vm.memory_hot_add_enabled? + spec_hash[:uuid] = drv_action['TEMPLATE/OS/UUID'] unless drv_action['TEMPLATE/OS/UUID'].nil? spec = RbVmomi::VIM.VirtualMachineConfigSpec( spec_hash