1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-14 06:01:33 -05:00

Update install.sh

This commit is contained in:
TommyTran732 2021-04-24 04:49:49 -04:00 committed by tommytran732
parent 1df0f958fa
commit bd36181839
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -161,7 +161,7 @@ pacstrap /mnt base base-devel ${kernel} ${kernel}-headers ${microcode} linux-fir
# Generating /etc/fstab. # Generating /etc/fstab.
echo "Generating a new fstab." echo "Generating a new fstab."
genfstab -U /mnt >> /mnt/etc/fstab genfstab -U /mnt >> /mnt/etc/fstab
sed -i 's#subvolid=258,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot##g' /mnt/etc/fstab sed -i 's#,subvolid=258,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot##g' /mnt/etc/fstab
# Setting hostname. # Setting hostname.
read -r -p "Please enter the hostname: " hostname read -r -p "Please enter the hostname: " hostname