mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 21:49:22 -05:00
update deploy-initial image version
This commit is contained in:
parent
7a78e3bd07
commit
55e7cadc02
@ -9,7 +9,7 @@ readonly remote=root@$ip
|
|||||||
|
|
||||||
# check for Arch ISO
|
# check for Arch ISO
|
||||||
ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || exit 5
|
ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || exit 5
|
||||||
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.06.01" ]]' || exit 5
|
||||||
|
|
||||||
ssh $remote "sfdisk /dev/$drive -w always <<< ';'"
|
ssh $remote "sfdisk /dev/$drive -w always <<< ';'"
|
||||||
ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1"
|
ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1"
|
||||||
|
Loading…
Reference in New Issue
Block a user