diff --git a/scripts/inner_chroot_script.sh b/scripts/inner_chroot_script.sh index d9b31dd..7583277 100755 --- a/scripts/inner_chroot_script.sh +++ b/scripts/inner_chroot_script.sh @@ -29,6 +29,10 @@ echo "inet_interfaces = localhost" >> /etc/postfix/main.cf # turn bashlogin shells to actual login shells sed -i 's:exec -l /bin/bash:exec -l /bin/bash -l:' /bin/bashlogin +# setup /etc/hosts, add sabayon as default hostname (required by XFCE) +sed -i "/^127.0.0.1/ s/localhost/localhost sabayon/" /etc/hosts +sed -i "/^::1/ s/localhost/localhost sabayon/" /etc/hosts + # setup postfix local mail aliases newaliases