From 12a4816c0b62c02405c79b0041a8eacb65aaf60b Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sat, 14 May 2022 22:25:48 +0200 Subject: [PATCH] Deprecate /etc/hosts config --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 58b0272..49f3807 100644 --- a/setup.sh +++ b/setup.sh @@ -12,7 +12,7 @@ init() { echo "Starting initialization" echo $fqdn > /etc/hostname - sed -i -e "s/$default_hostname/$fqdn $hostname/g" /etc/hosts + #sed -i -e "s/$default_hostname/$fqdn $hostname/g" /etc/hosts localectl set-keymap $keymap timedatectl set-timezone $timezone systemctl disable apt-daily-upgrade.timer @@ -75,8 +75,8 @@ fi run_directory_path=$(pwd) # Set parameters -default_hostname='orangepizero' -hostname='pi2' +#default_hostname='orangepizero' +#hostname='pi2' fqdn='pi2.jab.kto.black' keymap='fr' timezone='Europe/Paris'