one521-guestinfo.patch

Tino Vázquez, 01/27/2017 10:46 AM

Download (799 Bytes)

View differences:

vcenter_driver.rb 2017-01-25 15:21:52.544952095 +0100
1519 1519
            reconfigure_vm(vm, xml, false, hostname)
1520 1520

  
1521 1521
            vm.PowerOnVM_Task.wait_for_completion
1522

  
1523
            # guestinfo is volatile, so reconfigure *after* PowerOn
1524
            reconfigure(deploy_id, hostname, xml_text)
1525

  
1522 1526
            return vm.config.uuid
1523 1527
        end
1524 1528
    end
......
2575 2579
        # Power on the VM
2576 2580
        vm.PowerOnVM_Task.wait_for_completion
2577 2581

  
2582
        # guestinfo is volatile, so reconfigure *after* PowerOn
2583
        reconfigure(vm.config.uuid, hostname, xml_text)
2584

  
2578 2585
        # Set to yes the running flag
2579 2586

  
2580 2587
        config_array = [{:key=>"opennebula.vm.running",:value=>"yes"}]