From 871f962bcafcf6d066a35ec0175f12fef36895d3 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 10 Feb 2022 14:36:30 +0100 Subject: [PATCH] fix: remove reference to old ROOT_HOME variable (fixes #27) --- scripts/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main.sh b/scripts/main.sh index e836d45..0c6a1e9 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -105,7 +105,7 @@ function install_sshd() { if [[ -n "$ROOT_SSH_AUTHORIZED_KEYS" ]]; then einfo "Adding authorized keys for root" touch_or_die 0600 "/root/.ssh/authorized_keys" - echo "$ROOT_SSH_AUTHORIZED_KEYS" > "$ROOT_HOME/.ssh/authorized_keys" \ + echo "$ROOT_SSH_AUTHORIZED_KEYS" > "/root/.ssh/authorized_keys" \ || die "Could not add ssh key to /root/.ssh/authorized_keys" fi }