Manually bind localhost to loopback

This commit is contained in:
2024-09-14 13:16:53 -04:00
parent f4e9fa3fdc
commit d2912d2e70
+3
View File
@@ -215,6 +215,9 @@ fstabgen -U /mnt >> /mnt/etc/fstab
echo -e "\ntmpfs /tmp tmpfs rw,nodev,nosuid,size="$(echo ".75 * $ram / 1" | bc)"G 0 0" >> /mnt/etc/fstab
# END PARTITIONING
# manually binding localhost
echo "127.0.0.1 localhost" > /mnt/etc/hosts
# setting hostname
echo "$hostname" > /mnt/etc/hostname
echo "hostname=\'"$hostname"\'" > /mnt/etc/conf.d/hostname