From e3103db4311f40ca65f1599f0ac055f18a8ce68a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 26 Nov 2021 22:25:55 +0000 Subject: [PATCH] laminar ssh: no need for sudo, we're already root --- src/steps-config/80-laminar-ssh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/steps-config/80-laminar-ssh.sh b/src/steps-config/80-laminar-ssh.sh index 71d7cee..9d2bc86 100755 --- a/src/steps-config/80-laminar-ssh.sh +++ b/src/steps-config/80-laminar-ssh.sh @@ -6,7 +6,7 @@ mkdir -p /root/.ssh; echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICzYSWsGbWHh+cDheHJSKlCrxYDLwS6SKwVMV9SAaGsO laminar-ci@elessar" >>/root/.ssh/authorized_keys; # Set permissions -sudo chown -R root:root /root/.ssh; -sudo chmod 0600 /root/.ssh/authorized_keys; +chown -R root:root /root/.ssh; +chmod 0600 /root/.ssh/authorized_keys; task_end "$?";