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

Christian Bayle cbayle at fusionforge.org
Mon Feb 28 22:19:04 CET 2011


Author: cbayle
Date: 2011-02-28 22:19:03 +0100 (Mon, 28 Feb 2011)
New Revision: 12444

Modified:
   trunk/tests/lxc/Makefile
Log:
Fix installkey


Modified: trunk/tests/lxc/Makefile
===================================================================
--- trunk/tests/lxc/Makefile	2011-02-28 21:05:20 UTC (rev 12443)
+++ trunk/tests/lxc/Makefile	2011-02-28 21:19:03 UTC (rev 12444)
@@ -63,10 +63,10 @@
 	#
 
 installkey: beroot
-	[ -d $(VMROOT)/root/.ssh ] || mkdir -p $(VMROOT)/root/.ssh
-	cp $(SSHPUBKEY) $(VMROOT)/root/.ssh/authorized_keys
-	[ -d $(VMROOT)/etc/ssh ] || mkdir -p $(VMROOT)/etc/ssh
-	cp ssh/ssh_host_* $(VMROOT)/etc/ssh/
+	[ -d $(VMROOT)/root/.ssh ] || mkdir -p $(VMROOT)/rootfs/root/.ssh
+	cp $(SSHPUBKEY) $(VMROOT)/rootfs/root/.ssh/authorized_keys
+	[ -d $(VMROOT)/etc/ssh ] || mkdir -p $(VMROOT)/rootfs/etc/ssh
+	cp ssh/ssh_host_* $(VMROOT)/rootfs/etc/ssh/
 
 beroot:
 	@[ $(shell id -u) = "0" ] || (echo "you should be root to run this" ; exit 1)




More information about the Fusionforge-commits mailing list