aboutsummaryrefslogtreecommitdiff
path: root/post_chroot.sh
diff options
context:
space:
mode:
authorAwnrt <roman.levikoff@gmail.com>2024-03-30 22:09:08 +0300
committerAwnrt <roman.levikoff@gmail.com>2024-03-30 22:09:08 +0300
commit6d697ecd6fdb47b09f4594fa77f71fb42c653851 (patch)
tree19d972504c48a8ece39be8eab6924b42f593e349 /post_chroot.sh
parent9aa91789a16b74b0a42139d89f5f7131a712d6ac (diff)
hostname strange action
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-xpost_chroot.sh4
1 files changed, 3 insertions, 1 deletions
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