1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

do not remove already installed private keys when installing the secure key

This commit is contained in:
Thomas LÉVEIL 2014-02-22 14:26:48 +01:00
parent 3eec5201da
commit 7bd55402b0

View File

@ -12,6 +12,6 @@ else
chmod 700 "$DIR"
chown root:root "$DIR"
echo "Editing $AUTHORIZED_KEYS..."
cat /etc/insecure_key.pub > "$AUTHORIZED_KEYS"
cat /etc/insecure_key.pub >> "$AUTHORIZED_KEYS"
echo "Success: insecure key has been added to $AUTHORIZED_KEYS"
fi