mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
F #4913: Fix vcenter vm folder must be template parent if VCENTER_VM_FOLDER is not set
This commit is contained in:
parent
93f85d82a5
commit
ca2767c45e
@ -341,7 +341,7 @@ class VirtualMachine
|
||||
vcenter_vm_folder_object = dc.item.find_folder(vcenter_vm_folder)
|
||||
end
|
||||
|
||||
vm_folder = vc_template.parent if vcenter_vm_folder_object.nil?
|
||||
vcenter_vm_folder_object = vc_template.parent if vcenter_vm_folder_object.nil?
|
||||
|
||||
if ds.instance_of? RbVmomi::VIM::StoragePod
|
||||
# VM is cloned using Storage Resource Manager for StoragePods
|
||||
|
Loading…
x
Reference in New Issue
Block a user