deploy-initial update IMAGE_VERSION

This commit is contained in:
Daniel Micay 2024-10-22 06:42:03 -04:00
parent 9b3b3e69c8
commit fed4e23007

View File

@ -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"