diff --git a/src/commands/system-setup/arch/server-setup.sh b/src/commands/system-setup/arch/server-setup.sh index 620087a7..41b3ed04 100755 --- a/src/commands/system-setup/arch/server-setup.sh +++ b/src/commands/system-setup/arch/server-setup.sh @@ -472,6 +472,8 @@ if [[ $TOTAL_MEM -lt 8000000 ]]; then echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation. fi +gpu_type=$(lspci | grep -E "VGA|3D|Display") + arch-chroot /mnt /bin/bash < /etc/hostname -# use chpasswd to enter $USERNAME:$password - echo "$USERNAME:$PASSWORD" | chpasswd - echo "$USERNAME password set" - -# enter $NAME_OF_MACHINE to /etc/hostname - echo $NAME_OF_MACHINE > /etc/hostname -else - echo "You are already a user proceed with aur installs" -fi if [[ ${FS} == "luks" ]]; then # Making sure to edit mkinitcpio conf if luks is selected # add encrypt in mkinitcpio.conf before filesystems in hooks