mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 05:35:00 -05:00
deploy-initial update IMAGE_VERSION
This commit is contained in:
parent
9b3b3e69c8
commit
fed4e23007
@ -17,7 +17,7 @@ readonly drive=$(ssh $remote '[[ -e /dev/sda ]] && echo sda || echo vda')
|
||||
|
||||
# check for Arch ISO
|
||||
ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || exit 5
|
||||
ssh $remote '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2024.06.01" ]]' || exit 5
|
||||
ssh $remote '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2024.10.01" ]]' || exit 5
|
||||
|
||||
ssh $remote "sfdisk /dev/$drive -w always <<< ';'"
|
||||
ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1"
|
||||
|
Loading…
Reference in New Issue
Block a user