1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-27 03:21:29 +03:00

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

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
Carlos J. Herrera 2021-02-04 13:27:49 -05:00 committed by GitHub
parent 5d1ea1ef73
commit 4ad55ddfb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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