explicit set XFS allocation group count

This commit is contained in:
Daniel Micay 2024-02-24 10:28:10 -05:00
parent e0d5ff2fb2
commit c9cceb3bc0
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,7 @@ ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || e
ssh $remote '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2024.02.01" ]]' || exit 5
ssh $remote "sfdisk /dev/$drive -w always <<< ';'"
ssh $remote "mkfs.xfs -f /dev/${drive}1"
ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1"
rsync -tv pacman.d/mirrorlist $remote:/etc/pacman.d/mirrorlist
ssh $remote "mount /dev/${drive}1 /mnt"
ssh $remote "pacstrap -K /mnt base bash-completion chrony cloud-guest-utils conntrack-tools grub htop ioping linux-lts logrotate lsof man-db moreutils mtr nftables nginx openssh pacman-contrib pacutils plocate pv rsync strace sysstat tree unbound vim xfsprogs"