F #1048: consistent unique VM identification (#759)

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
Carlos J. Herrera authored and GitHub committed 2021-02-04 19:27:49 +01:00
1 parent 5d1ea1ef73
commit 4ad55ddfb7
1 file changed
+1
+1
View File
@@ -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