[Fusionforge-commits] r10949 - trunk/tests/scripts

Christian Bayle cbayle at libremir.placard.fr.eu.org
Tue Oct 12 00:38:11 CEST 2010


Author: cbayle
Date: 2010-10-12 00:38:11 +0200 (Tue, 12 Oct 2010)
New Revision: 10949

Modified:
   trunk/tests/scripts/stop_vz.sh
Log:
Stop a vm based on env variables


Modified: trunk/tests/scripts/stop_vz.sh
===================================================================
--- trunk/tests/scripts/stop_vz.sh	2010-10-11 22:38:05 UTC (rev 10948)
+++ trunk/tests/scripts/stop_vz.sh	2010-10-11 22:38:11 UTC (rev 10949)
@@ -4,13 +4,6 @@
 then
 	echo "VM removed"
 else
-	pwd
-	. ../openvz/config.default
-	if [ -f ../openvz/config.`hostname` ]
-	then
-		. ../openvz/config.`hostname`
-	fi
-	echo "Run the folowing to destroy test server :"
-	echo "sudo /usr/sbin/vzctl stop $VEIDCEN"
-	echo "sudo /usr/sbin/vzctl destroy $VEIDCEN"
+	sudo /usr/sbin/vzctl stop $VEID
+	sudo /usr/sbin/vzctl destroy $VEID
 fi




More information about the Fusionforge-commits mailing list