Fix for vCenter attach_nic

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

No files matched your search

+1 -1
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,
@@ -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)