mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-03 15:37:16 -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
|
echo -e "\ntmpfs /tmp tmpfs rw,nodev,nosuid,size="$(echo ".75 * $ram / 1" | bc)"G 0 0" >> /mnt/etc/fstab
|
||||||
# END PARTITIONING
|
# END PARTITIONING
|
||||||
|
|
||||||
|
# manually binding localhost
|
||||||
|
echo "127.0.0.1 localhost" > /mnt/etc/hosts
|
||||||
|
|
||||||
# setting hostname
|
# setting hostname
|
||||||
echo "$hostname" > /mnt/etc/hostname
|
echo "$hostname" > /mnt/etc/hostname
|
||||||
echo "hostname=\'"$hostname"\'" > /mnt/etc/conf.d/hostname
|
echo "hostname=\'"$hostname"\'" > /mnt/etc/conf.d/hostname
|
||||||
|
|||||||
Reference in New Issue
Block a user