Revision 6440754f src/vmm_mad/remotes/lib/vcenter_driver/host.rb

View differences:

src/vmm_mad/remotes/lib/vcenter_driver/host.rb
313 313
        Datacenter.new(item)
314 314
    end
315 315

  
316
    def self.to_one(name, host, user, pass, ref, vc_uuid)
316
    def self.to_one(name, host, user, pass, ref, vc_uuid, vc_version)
317 317

  
318 318
        one_host = VCenterDriver::VIHelper.new_one_item(OpenNebula::Host)
319 319

  
......
332 332
                   "VCENTER_PASSWORD=\"#{pass}\"\n"\
333 333
                   "VCENTER_USER=\"#{user}\"\n"\
334 334
                   "VCENTER_CCR_REF=\"#{ref}\"\n"\
335
                   "VCENTER_INSTANCE_ID=\"#{vc_uuid}\"\n"
335
                   "VCENTER_INSTANCE_ID=\"#{vc_uuid}\"\n"\
336
                   "VCENTER_VERSION=\"#{vc_version}\"\n"\
336 337

  
337 338
        rc = one_host.update(template, false)
338 339

  

Also available in: Unified diff