1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Removing sudo requirement from VMware TM

git-svn-id: http://svn.opennebula.org/one/trunk@696 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Constantino Vázquez Blanco 2009-07-15 17:54:50 +00:00
parent 8a5dcad74d
commit 9996625bf4

View File

@ -41,8 +41,8 @@ http://*)
*)
log "Cloning $SRC"
VM_ID=`echo $DST | sed -e 's/.*\/\([0-9]\+\)\/images\/.*/\1/'`
sudo cp -r $SRC_PATH $DATASTORE_PATH/one-$VM_ID &>/dev/null
sudo mv $DATASTORE_PATH/one-$VM_ID/*.vmx $DATASTORE_PATH/one-$VM_ID/one-$VM_ID.vmx
cp -r $SRC_PATH $DATASTORE_PATH/one-$VM_ID &>/dev/null
mv $DATASTORE_PATH/one-$VM_ID/*.vmx $DATASTORE_PATH/one-$VM_ID/one-$VM_ID.vmx
;;
esac