mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-11 03:05:32 -04:00
explicit set XFS allocation group count
This commit is contained in:
parent
e0d5ff2fb2
commit
c9cceb3bc0
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue