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

Christian Bayle cbayle at fusionforge.org
Wed Mar 2 20:35:18 CET 2011


Author: cbayle
Date: 2011-03-02 20:35:16 +0100 (Wed, 02 Mar 2011)
New Revision: 12538

Modified:
   trunk/tests/scripts/start_lxc.sh
Log:
fix missing fi


Modified: trunk/tests/scripts/start_lxc.sh
===================================================================
--- trunk/tests/scripts/start_lxc.sh	2011-03-02 19:01:16 UTC (rev 12537)
+++ trunk/tests/scripts/start_lxc.sh	2011-03-02 19:35:16 UTC (rev 12538)
@@ -29,6 +29,7 @@
 else
 	sudo /usr/bin/lxc-create -n $HOST -f $lxcdir/config.$LXCDEBTEMPLATE -t $LXCDEBTEMPLATE
 fi
+
 if [ ! -e /usr/lib/lxc/templates/lxc-$LXCDEBTEMPLATE.postinst ]
 then
 	sudo /usr/lib/lxc/templates/lxc-$LXCDEBTEMPLATE.postinst \
@@ -39,6 +40,7 @@
 		--pubkey=$SSHPUBKEY \
 		--hostkeydir=$HOSTKEYDIR
 	sudo /usr/bin/lxc-start -n $HOST -d
+fi
 
 ssh -o 'StrictHostKeyChecking=no' "root@$HOST" uname -a
 ret=$?




More information about the Fusionforge-commits mailing list