Remove extra sudo

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:53 -04:00
parent 443e950c31
commit a2373b9e45
1 changed files with 2 additions and 1 deletions

View File

@ -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... "