commit cd65adfe8c615b421c2c6d118763344a0ea15fc9
parent 70d97ff8ad63550272b65608dc50d91139e232a3
Author: awy <awy@awy.one>
Date: Tue, 29 Oct 2024 18:28:41 +0300
127.0.0.1 hosts file
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh
@@ -75,6 +75,12 @@ useradd -m -g users -G wheel,storage,power -s /bin/zsh $_username
echo root:$_rootpasswd | chpasswd
echo $_username:$_userpasswd | chpasswd
+cat <<EOL >> /etc/hosts
+127.0.0.1 localhost
+::1 localhost
+127.0.1.1 $_hostname.localdomain $_hostname
+EOL
+
pacman -Sy --noconfirm
pacman -S artix-archlinux-support --noconfirm
echo "[extra]" >> /etc/pacman.conf