Remove extra sudo
This commit is contained in:
parent
d2d9da5f28
commit
50d42c7f97
|
@ -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... "
|
||||
|
|
Loading…
Reference in New Issue