diff --git a/src/cli/onevm b/src/cli/onevm index 7adf8592c5..082bc6ac97 100755 --- a/src/cli/onevm +++ b/src/cli/onevm @@ -156,8 +156,8 @@ cmd=CommandParser::CmdParser.new(ARGV) do saveas_desc = <<-EOT.unindent Sets the specified VM disk to be saved in a new Image. The Image is - created inmediately, but the contents are saved only if the VM is - shut down gracefuly (i.e., using 'onevm shutdown' and not + created immediately, but the contents are saved only if the VM is + shut down gracefully (i.e., using 'onevm shutdown' and not 'onevm delete') States: ANY @@ -279,9 +279,9 @@ cmd=CommandParser::CmdParser.new(ARGV) do end resubmit_desc = <<-EOT.unindent - Resubmits the VM to PENDING state. This is intented for VMs stuck in a + Resubmits the VM to PENDING state. This is intended for VMs stuck in a transient state. To re-deploy a fresh copy of the same VM, create a - Template and instantiante it, see 'onetemplate instantiate' + Template and instantiate it, see 'onetemplate instantiate' States: ANY, except SUSPENDED or DONE EOT diff --git a/src/tm_mad/lvm/clone b/src/tm_mad/lvm/clone index a4a7ab9e92..492102bebb 100755 --- a/src/tm_mad/lvm/clone +++ b/src/tm_mad/lvm/clone @@ -24,7 +24,7 @@ SRC=$1 DST=$2 -VM_ID=$3 +VM_ID=$(basename `dirname $DST`) DS_ID=$4 if [ -z "${ONE_LOCATION}" ]; then diff --git a/src/tm_mad/lvm/delete b/src/tm_mad/lvm/delete index 4f8b805aaa..43b05fc4e2 100755 --- a/src/tm_mad/lvm/delete +++ b/src/tm_mad/lvm/delete @@ -43,8 +43,8 @@ DST_HOST=`arg_host $DST` DELETE_CMD=$(cat <