From 6d697ecd6fdb47b09f4594fa77f71fb42c653851 Mon Sep 17 00:00:00 2001 From: Awnrt Date: Sat, 30 Mar 2024 22:09:08 +0300 Subject: hostname strange action --- post_chroot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/post_chroot.sh b/post_chroot.sh index d9058c1..8bed0a7 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -9,6 +9,8 @@ echo LANG=en_US.UTF-8 > /etc/locale.conf export LANG="en_US.UTF-8" export LC_COLLATE="C" +echo $_hostname > /etc/hostname + pacman -S grub os-prober efibootmgr --noconfirm grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub @@ -24,7 +26,7 @@ echo $_username:$_userpasswd | chpasswd echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers echo "Defaults rootpw" >> /etc/sudoers -echo $_hostname > /etc/hostname + echo "[lib32]" >> /etc/pacman.conf echo "Include = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf -- cgit v1.2.3