Setup Script - More hostname stuff

This commit is contained in:
Mike Reeves
2019-09-24 14:07:49 -04:00
parent 5e2cc08039
commit 637eb25d23

View File

@@ -941,6 +941,7 @@ set_hostname() {
hostnamectl set-hostname $HOSTNAME
echo "127.0.0.1 $HOSTNAME $HOSTNAME.localdomain localhost localhost.localdomain localhost4 localhost4.localdomain" > /etc/hosts
echo "::1 localhost localhost.localdomain localhost6 localhost6.localdomain6" >> /etc/hosts
echo "$HOSTNAME" > /etc/hostname
}