Fix genfstab Filter

This commit is contained in:
seiichiro 2021-09-17 16:30:30 +02:00
parent 0ae15f94ec
commit 1631be12e3

View file

@ -163,7 +163,7 @@ echo "Installing Base System Packages"
pacstrap /mnt base $kernel $microcode $firmware $extrapkgs btrfs-progs grub grub-btrfs snapper vim git tmux htop iftop iotop tcpdump mtr rsync wget which zip lsof strace openssh inetutils bc man-pages pacstrap /mnt base $kernel $microcode $firmware $extrapkgs btrfs-progs grub grub-btrfs snapper vim git tmux htop iftop iotop tcpdump mtr rsync wget which zip lsof strace openssh inetutils bc man-pages
echo "Creating Basic Config Files" echo "Creating Basic Config Files"
genfstab -U /mnt | sed -e 's#suvolid=.*,##g;s#subvol=/.*##g' >> /mnt/etc/fstab genfstab -U /mnt | sed -e 's/suvolid=[0-9]*,//g' >> /mnt/etc/fstab
echo "${hostname}" >> /mnt/etc/hostname echo "${hostname}" >> /mnt/etc/hostname
cat > /mnt/etc/hosts <<EOF cat > /mnt/etc/hosts <<EOF