From 402b35db9d5a38e543dacc843e50113c4a8b0b55 Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Sat, 26 Mar 2016 15:39:07 +0100 Subject: [PATCH] Remove setting of hostname, move to seperate PR #773 --- setup/system.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/setup/system.sh b/setup/system.sh index c76cf740..ce8eba36 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -13,18 +13,6 @@ source setup/functions.sh # load our functions chmod g-w /etc/default -# ### Set hostname of the box - -# If the hostname is not correctly resolvable sudo can't be used. This will result in -# errors during the install -# -# First set the hostname in the configuration file, then activate the setting -# Also make sure that the loopback device resolves to the hostname - -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 # If the physical memory of the system is below 2GB it is wise to create a