Skip to content

Commit

Permalink
Merge branch 'master' of git.opennebula.org:one
Browse files Browse the repository at this point in the history
  • Loading branch information
tinova committed Jul 26, 2012
2 parents c39fb86 + 1bb25b8 commit 43e405b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/cli/onevm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/tm_mad/lvm/clone
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

SRC=$1
DST=$2
VM_ID=$3
VM_ID=$(basename `dirname $DST`)
DS_ID=$4

if [ -z "${ONE_LOCATION}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions src/tm_mad/lvm/delete
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ DST_HOST=`arg_host $DST`
DELETE_CMD=$(cat <<EOF
DEV=\$(readlink $DST_PATH)
LV=\$(basename \$DEV)
VM=$(echo \$LV|cut -d- -f4)
DISK_ID=$(echo \$LV|cut -d- -f5)
VM=\$(echo \$LV|cut -d- -f4)
DISK_ID=\$(echo \$LV|cut -d- -f5)
if [ -n "\$VM" -a -n "\$DISK_ID" ]; then
$SUDO $LVREMOVE -f \$DEV
Expand Down

0 comments on commit 43e405b

Please sign in to comment.