Removed /etc/hosts section

The arch wiki doesn't include it anymore (legacy?)
This commit is contained in:
Tommaso Chiti 2022-05-08 11:05:28 +02:00 committed by GitHub
parent 2fff020e4b
commit 11f80239a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,14 +344,6 @@ sed -i "/^#$locale/s/^#//" /mnt/etc/locale.gen
echo "LANG=$locale" > /mnt/etc/locale.conf
echo "KEYMAP=$kblayout" > /mnt/etc/vconsole.conf
# Setting hosts file.
print "Setting hosts file."
cat > /mnt/etc/hosts <<EOF
127.0.0.1 localhost
::1 localhost
127.0.1.1 $hostname.localdomain $hostname
EOF
# Checking the microcode to install.
microcode_detector