[Fusionforge-commits] r13513 - trunk/tests/lxc

Christian Bayle cbayle at fusionforge.org
Fri Jun 17 07:34:47 CEST 2011


Author: cbayle
Date: 2011-06-17 07:34:47 +0200 (Fri, 17 Jun 2011)
New Revision: 13513

Modified:
   trunk/tests/lxc/start
Log:
Fix template name


Modified: trunk/tests/lxc/start
===================================================================
--- trunk/tests/lxc/start	2011-06-17 05:34:46 UTC (rev 13512)
+++ trunk/tests/lxc/start	2011-06-17 05:34:47 UTC (rev 13513)
@@ -1,6 +1,6 @@
 #! /bin/sh -x
 
-lxcdir=`dirname $0`/../lxc
+lxcdir=`dirname $0`
 
 IFS=: ; VARS=`eval echo \\\$$BASEHOST` ; unset IFS ; set $VARS
 VMENGINE=$1
@@ -23,7 +23,7 @@
 	# Next is a bit hacky, the only way I found to pass pubkey to the template
 	# LXC don't allow to pass extra args
 	echo "#lxc.pubkey = $SSHPUBKEY" >> $tmpconf
-	sudo /usr/bin/lxc-create -n $HOST -f $tmpconf -t $LXCTEMPLATE
+	sudo /usr/bin/lxc-create -n $HOST -f $tmpconf -t $TEMPLATE
 	rm -f $tmpconf
 	sudo /usr/bin/lxc-start -n $HOST -d
 fi




More information about the Fusionforge-commits mailing list