mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-10-29 16:21:33 -04: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
|
## Setting hosts file
|
||||||
echo 'Setting hosts file.'
|
echo 'Setting hosts file.'
|
||||||
echo "127.0.0.1 localhost
|
echo '# Loopback entries; do not change.
|
||||||
::1 localhost
|
# For historical reasons, localhost precedes localhost.localdomain:
|
||||||
127.0.1.1 $hostname.localdomain $hostname" > /mnt/etc/hosts
|
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
|
## Setup locales
|
||||||
echo "$locale.UTF-8 UTF-8" > /mnt/etc/locale.gen
|
echo "$locale.UTF-8 UTF-8" > /mnt/etc/locale.gen
|
||||||
|
Loading…
Reference in New Issue
Block a user