From a2373b9e45a909b2b4a123210465782738f65c6f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:53 -0400 Subject: [PATCH] Remove extra sudo --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 48bd3a9..e8b603f 100755 --- a/install.sh +++ b/install.sh @@ -265,9 +265,10 @@ wget -O ${target}/var/home/deploy/.ssh/authorized_keys ${target_keys_url} else echo "${target_password}" | chroot ${target} passwd --stdin deploy >&2 fi +echo "done." echo -n "Setting hostname... " -echo "${target_hostname}" | sudo tee ${target}/etc/hostname >&2 +echo "${target_hostname}" | tee ${target}/etc/hostname >&2 echo "done." echo -n "Setting /etc/issue generator... "