1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

F #4913: Fix vCenter datastore can be forced when a template is cloned

This commit is contained in:
mcabrerizo 2017-07-06 17:11:45 +02:00
parent 8fdeb22830
commit e857f8f464

View File

@ -1241,7 +1241,7 @@ class VirtualMachine < Template
ds = get_ds
relocate_spec_params[:datastore] = ds if ds.instance_of? Datastore
relocate_spec_params[:datastore] = ds if ds.instance_of? RbVmomi::VIM::Datastore
relocate_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(
relocate_spec_params)
@ -2120,7 +2120,7 @@ class VirtualMachine < Template
return ds_ref, img_path
end
# Get vcenter device representing DISK object (hotplug)
# Get vcenter device representing DISK object (hotplug)
def disk_attached_to_vm(disk, unmanaged_keys, vc_disks)
img_name = ""