From 124d619caf47848d0fd712db3bc1cf8d15138b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Thu, 7 May 2015 16:45:21 +0200 Subject: [PATCH] Feature #2051: Remove the --live option for onevm save --- src/cli/onevm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli/onevm b/src/cli/onevm index e70c934840..37cb25e138 100755 --- a/src/cli/onevm +++ b/src/cli/onevm @@ -839,9 +839,11 @@ cmd=CommandParser::CmdParser.new(ARGV) do save_desc = <<-EOT.unindent Clones the VM's source Template, replacing the disks with live snapshots of the current disks. The VM capacity and NICs are also preserved + + States: POWEROFF EOT - command :save, save_desc, :vmid, :name, :options=>[OneVMHelper::LIVE] do + command :save, save_desc, :vmid, :name do helper.perform_action(args[0],options,"Saving VM") do |vm| res = vm.save_as_template(args[1])