Fix typo for manilauser-ssh-authorized-keys

Change-Id: I481f822f3de873754737e5805bce2766cb37434c
This commit is contained in:
George Melikov 2021-08-10 18:35:04 +03:00
parent 93957d68ef
commit 156d9e370b

View File

@ -21,7 +21,7 @@ chmod 0440 /etc/sudoers.d/${DIB_MANILA_USER_USERNAME}
visudo -c || rm /etc/sudoers.d/${DIB_MANILA_USER_USERNAME}
if [ -f /tmp/in_target.d/devuser-ssh-authorized-keys ]; then
if [ -f /tmp/in_target.d/manilauser-ssh-authorized-keys ]; then
mkdir -p /home/${DIB_MANILA_USER_USERNAME}/.ssh
cp /tmp/in_target.d/manilauser-ssh-authorized-keys /home/${DIB_MANILA_USER_USERNAME}/.ssh/authorized_keys
fi