Deprecate /etc/hosts config
This commit is contained in:
parent
cdd9be6aae
commit
12a4816c0b
6
setup.sh
6
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'
|
||||
|
Reference in New Issue
Block a user