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:
parent
b4b9548b8b
commit
2c08986737
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user