1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-26 02:57:04 +00:00

Don't set the hostname on the loopback 127.0.1.1

This commit is contained in:
Michael Kroes 2016-03-26 15:41:20 +01:00
parent c910a58f07
commit 3210ccdcac

View File

@ -14,7 +14,6 @@ source setup/functions.sh # load our functions
echo $PRIMARY_HOSTNAME > /etc/hostname
hostname $PRIMARY_HOSTNAME
sed -i "s/127\.0\.1\.1.*/127.0.1.1\t$PRIMARY_HOSTNAME/" /etc/hosts
# ### Add swap space to the system