Revision 05ed37c9 src/vmm_mad/remotes/vcenter/cancel

View differences:

src/vmm_mad/remotes/vcenter/cancel
36 36
vm = OpenNebula::VirtualMachine.new_with_id(vm_id, OpenNebula::Client.new)
37 37
vm.info
38 38

  
39
lcm_state = vm.lcm_state_str
39
lcm_state   = vm.lcm_state_str
40
keep_disks  = vm.keep_disks?
40 41

  
41 42
begin
42
    VCenterDriver::VCenterVm.cancel(deploy_id, host, lcm_state)
43
    VCenterDriver::VCenterVm.cancel(deploy_id, host, lcm_state, keep_disks)
43 44
rescue Exception => e
44 45
    STDERR.puts "Cancel of VM #{deploy_id} on host #{host} failed " +
45 46
                "due to \"#{e.message}\""

Also available in: Unified diff