mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 09:01:34 -05:00
Use Fedora's /etc/hosts
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
870ccdef4d
commit
3821fe08f3
10
install.sh
10
install.sh
@ -386,9 +386,13 @@ echo "$hostname" > /mnt/etc/hostname
|
||||
|
||||
## Setting hosts file
|
||||
echo 'Setting hosts file.'
|
||||
echo "127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 $hostname.localdomain $hostname" > /mnt/etc/hosts
|
||||
echo '# Loopback entries; do not change.
|
||||
# For historical reasons, localhost precedes localhost.localdomain:
|
||||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||
# See hosts(5) for proper format and other examples:
|
||||
# 192.168.1.10 foo.example.org foo
|
||||
# 192.168.1.13 bar.example.org bar' > /mnt/etc/hosts
|
||||
|
||||
## Setup locales
|
||||
echo "$locale.UTF-8 UTF-8" > /mnt/etc/locale.gen
|
||||
|
Loading…
Reference in New Issue
Block a user