Commit ca0a3364 by Serge Hallyn

lxc-ssh: fix message about ssh key insertion

parent d7436fc1
...@@ -96,7 +96,7 @@ EOF ...@@ -96,7 +96,7 @@ EOF
cp $auth_key "$root_u_path/authorized_keys" cp $auth_key "$root_u_path/authorized_keys"
chown -R 0:0 "$rootfs/$u_path" chown -R 0:0 "$rootfs/$u_path"
chmod 700 "$rootfs/$u_path" chmod 700 "$rootfs/$u_path"
echo "Inserted SSH public key from $auth_key into /home/ubuntu/.ssh/authorized_keys" echo "Inserted SSH public key from $auth_key into $rootfs/$u_path"
fi fi
return 0 return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment