[scripts] inner_chroot_script: make sure to setup "sabayon" host in /etc/hosts
This commit is contained in:
parent
8e02cdf8da
commit
5397f9515f
@ -29,6 +29,10 @@ echo "inet_interfaces = localhost" >> /etc/postfix/main.cf
|
|||||||
# turn bashlogin shells to actual login shells
|
# turn bashlogin shells to actual login shells
|
||||||
sed -i 's:exec -l /bin/bash:exec -l /bin/bash -l:' /bin/bashlogin
|
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
|
# setup postfix local mail aliases
|
||||||
newaliases
|
newaliases
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user