host should be on 127.0.1.1 not 127.0.0.1

This commit is contained in:
ferreo 2024-11-05 09:53:47 +01:00
parent 7f843c1b2e
commit d981604320

View File

@ -28,7 +28,7 @@ chown -R "${USERNAME}":"${USERNAME}" /home/"${USERNAME}"
usermod -a -G adm,cdrom,sudo,render,dip,video,plugdev,input,render,lpadmin "${USERNAME}"
rm -rf /etc/sddm.conf.d/zautologin.conf || true
hostnamectl set-hostname "${HOSTNAME}"
echo "127.0.0.1 ${HOSTNAME}" >> /etc/hosts
echo "127.0.1.1 ${HOSTNAME}" >> /etc/hosts
"###;
fn uppercase_first_letter(s: &str) -> String {