echo "Need hostname as argument."
false
fi
-
echo "${hostname}" > /etc/hostname
hostname "${hostname}"
continue
fi
fi
- echo 'SETTING' $ip
final_ip="${ip}"
done
+
echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts
echo "${final_ip} ${fqdn} ${hostname}" >> /etc/hosts
apt -y dist-upgrade
# Set Berlin localtime.
-#ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
+ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
# If we have not yet set the shell for user plom, ensure it here. This
# is mostly for convenience.