diff --git a/src/tm_mad/vmware/tm_ln.sh b/src/tm_mad/vmware/tm_ln.sh index 5ae24f0c37..cb7f29193a 100755 --- a/src/tm_mad/vmware/tm_ln.sh +++ b/src/tm_mad/vmware/tm_ln.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -xv # ---------------------------------------------------------------------------- # # Copyright 2010-2011, C12G Labs S.L # diff --git a/src/tm_mad/vmware/tm_mv.sh b/src/tm_mad/vmware/tm_mv.sh index b60be2862e..7e6f198f94 100755 --- a/src/tm_mad/vmware/tm_mv.sh +++ b/src/tm_mad/vmware/tm_mv.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash # ---------------------------------------------------------------------------- # # Copyright 2010-2011, C12G Labs S.L # @@ -48,7 +48,7 @@ elif [ "`is_disk $SRC_PATH`" = "0" ] ; then log "Moving $SRC_PATH"    exec_and_log "mv $SRC_PATH $DST_PATH" elif [ -d $SRC_PATH ]; then - log "Will not move, is not saving a VM disk image" + log "Will not move, it is not saving a VM disk image" else log "Moving $SRC_PATH" exec_and_log "mv $SRC_PATH $DST_PATH" diff --git a/src/vmm_mad/remotes/vmware/deploy b/src/vmm_mad/remotes/vmware/deploy index cbd4d0c303..48cbaedd53 100755 --- a/src/vmm_mad/remotes/vmware/deploy +++ b/src/vmm_mad/remotes/vmware/deploy @@ -33,8 +33,8 @@ dfile = ARGV[0] host = ARGV[1] id = ARGV[2] -vmware_drv = VMwareDriver.new(host, id) +vmware_drv = VMwareDriver.new(host) -puts vmware_drv.deploy(dfile) +puts vmware_drv.deploy(dfile, id) exit 0