From 0a715ca0b4f58a48cb734c03d3ae3e936013f353 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Fri, 4 Sep 2015 14:38:15 +0200 Subject: [PATCH] Feature #3782: Display correct states for disk-snapshot-* operations --- src/cli/onevm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli/onevm b/src/cli/onevm index ce0fefcc35..8d395e67d7 100755 --- a/src/cli/onevm +++ b/src/cli/onevm @@ -812,7 +812,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do Takes a new snapshot of the given disk. This operation needs support from the Datastore drivers: QCOW2 or Ceph. - States: POWEROFF + States: RUNNING, POWEROFF, SUSPENDED EOT command :"disk-snapshot-create", disk_snapshot_create_desc, @@ -825,7 +825,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do disk_snapshot_revert_desc = <<-EOT.unindent Reverts disk state to a previously taken snapshot. - States: POWEROFF + States: RUNNING, POWEROFF, SUSPENDED EOT command :"disk-snapshot-revert", disk_snapshot_revert_desc, @@ -838,7 +838,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do disk_snapshot_delete_desc = <<-EOT.unindent Deletes a disk snapshot. - States: POWEROFF + States: RUNNING, POWEROFF, SUSPENDED EOT command :"disk-snapshot-delete", disk_snapshot_delete_desc, :vmid, :diskid, :snapshot_id do