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 '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2024.02.01" ]]' || exit 5
ssh $remote "sfdisk /dev/$drive -w always <<< ';'" 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 rsync -tv pacman.d/mirrorlist $remote:/etc/pacman.d/mirrorlist
ssh $remote "mount /dev/${drive}1 /mnt" 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" 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"

View File

@ -2,4 +2,5 @@ readonly ip=199.195.250.78
readonly hostname=staging readonly hostname=staging
readonly host=staging.grapheneos.org readonly host=staging.grapheneos.org
readonly drive=vda readonly drive=vda
readonly agcount=4
readonly swap=2048 readonly swap=2048