more semantic config upload

This commit is contained in:
Mikaël Cluseau
2025-12-16 14:43:59 +01:00
parent 26d3d0faeb
commit 512177cab0
8 changed files with 69 additions and 18 deletions

View File

@ -8,14 +8,14 @@ dev=$1
set -ex
zcat boot.img.gz | dd of=$dev
apk add sgdisk
[[ $dev =~ nvme ]] &&
devp=${dev}p ||
devp=${dev}
zcat boot.img.gz | dd of=$dev
sgdisk --move-second-header --new=3:0:0 $dev
pvcreate ${devp}3