mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Don't set the hostname on the loopback 127.0.1.1
This commit is contained in:
parent
c910a58f07
commit
3210ccdcac
@ -14,7 +14,6 @@ source setup/functions.sh # load our functions
|
|||||||
|
|
||||||
echo $PRIMARY_HOSTNAME > /etc/hostname
|
echo $PRIMARY_HOSTNAME > /etc/hostname
|
||||||
hostname $PRIMARY_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
|
# ### Add swap space to the system
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user