mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Manually bind localhost to loopback
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user