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

Fix for vCenter attach_nic

This commit is contained in:
Tino Vazquez 2016-05-13 09:39:43 +02:00
parent b4b9548b8b
commit 2c08986737
2 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,7 @@ deploy_id = ARGV[0]
mac = ARGV[1]
bridge = ARGV[2]
model = ARGV[3]
host = ARGV[6]
host = ARGV[-1]
begin
VCenterDriver::VCenterVm.attach_nic(deploy_id,

View File

@ -311,7 +311,6 @@ class VIClient
########################################################################
def find_vm_template(uuid)
version = @vim.serviceContent.about.version
STDERR.puts version
if version.split(".").first.to_i >= 6
@dc.vmFolder.findByUuid(uuid, RbVmomi::VIM::VirtualMachine, @dc)