From 156d9e370b8fa949cbdaba44a303286fe1f67ab8 Mon Sep 17 00:00:00 2001 From: George Melikov Date: Tue, 10 Aug 2021 18:35:04 +0300 Subject: [PATCH] Fix typo for manilauser-ssh-authorized-keys Change-Id: I481f822f3de873754737e5805bce2766cb37434c --- elements/manila-ssh/install.d/50-manila-user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/manila-ssh/install.d/50-manila-user b/elements/manila-ssh/install.d/50-manila-user index f7cfbba..71e0265 100755 --- a/elements/manila-ssh/install.d/50-manila-user +++ b/elements/manila-ssh/install.d/50-manila-user @@ -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