mirror of
git://github.com/lxc/lxc
synced 2025-09-04 10:19:32 +00:00
lxc-ssh: fix message about ssh key insertion
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user