script/autoqa: fix /root/.ssh creation
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Tue, 18 Feb 2014 12:45:19 +0000 (13:45 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Tue, 18 Feb 2014 12:45:19 +0000 (13:45 +0100)
Change-Id: I36f84e46d9d580fb7ae61cc94f53c147284c8e43
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
scripts/autoqa.post

index 5a461e6..f6f0064 100644 (file)
@@ -2,6 +2,10 @@
 
 # generate private/public key for autologin as root
 
+mkdir /root/.ssh
+chown root:root /root/.ssh
+chmod 700 /root/.ssh
+
 # the private key: use the following key on the ssh client side (copied here for reference)
 cat <<EOF >/root/.ssh/id_eat_dsa
 -----BEGIN DSA PRIVATE KEY-----