1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Revert "bug #1255: make sure the VM is undefined before deploying it"

The command had the path of the deployment.0 as parameter,
that was totally wrong. Reverting as it fails and does not
make the command any better.

This reverts commit 1284b7aa18bd57a157f1794e779dfc83523517c0.
This commit is contained in:
Javi Fontan 2012-10-11 16:48:25 +02:00
parent f70fa54251
commit 252a5932f0

View File

@ -24,8 +24,6 @@ domain=$1
mkdir -p `dirname $domain`
cat > $domain
virsh --connect $LIBVIRT_URI undefine $domain
data=`virsh --connect $LIBVIRT_URI create $domain`
if [ "x$?" = "x0" ]; then