Fixed syntax issue and added archlinux-keyring install & configure
This commit is contained in:
parent
617326fd52
commit
50c4834032
@ -121,9 +121,8 @@ get_disks DISKS
|
|||||||
get_choice "Which disk are you wanting to use? : " DISK "${DISKS[@]}"
|
get_choice "Which disk are you wanting to use? : " DISK "${DISKS[@]}"
|
||||||
|
|
||||||
# If the disk is a nvme drive
|
# If the disk is a nvme drive
|
||||||
if [[ "$DISK" =~ ^/dev/nvmen[0-9]$ ]]
|
if [[ "$DISK" =~ ^/dev/nvmen[0-9]$ ]]; then
|
||||||
DISK_BASE=${DISK}p
|
DISK_BASE=${DISK}p
|
||||||
|
|
||||||
else
|
else
|
||||||
DISK_BASE="${DISK}"
|
DISK_BASE="${DISK}"
|
||||||
fi
|
fi
|
||||||
@ -398,6 +397,9 @@ usermod -aG wheel $NEW_USER
|
|||||||
echo '%wheel ALL=(ALL:ALL) ALL' > /etc/sudoers.d/wheel
|
echo '%wheel ALL=(ALL:ALL) ALL' > /etc/sudoers.d/wheel
|
||||||
"
|
"
|
||||||
|
|
||||||
|
pacman -Sy archlinux-keyring
|
||||||
|
pacman-key --init
|
||||||
|
pacman-key --populate archlinux
|
||||||
arch-chroot /mnt /bin/bash <<< "$INSTALL_SYSTEM"
|
arch-chroot /mnt /bin/bash <<< "$INSTALL_SYSTEM"
|
||||||
|
|
||||||
# END: Work
|
# END: Work
|
||||||
|
Loading…
Reference in New Issue
Block a user