mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
F #4913: Fix vcenter vm folder must be template parent if VCENTER_VM_FOLDER is not set
This commit is contained in:
1 parent
93f85d82a5
commit
ca2767c45e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user