From 58829f7045be5446a9f98edad3ca19440c515771 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Dec 2023 11:58:29 +0100 Subject: [PATCH] uuid --- bash/hetzner-rescue.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 57ebb04..47d3a73 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -189,7 +189,7 @@ function hetzner-rescue-wipe-8-8-0 { mkfs.vfat \ -F 32 \ -S 4096 \ - -i "b007000${number}" \ + -i "000000b${number}" \ -n "esp-${number}" \ "${device}3" done @@ -209,6 +209,7 @@ function hetzner-rescue-wipe-8-8-0 { done mkfs.btrfs --force \ --label 'boot' \ + --uuid '00000000-0000-0000-0000-0000000000b0' \ --checksum 'sha256' \ --data 'raid0' \ "${members[@]}" @@ -229,7 +230,7 @@ function hetzner-rescue-wipe-8-8-0 { mdadm \ --create '/dev/md/crypt' \ --name 'crypt' \ - --uuid '006234a0:eb29a3a8:471dbd5e:c4bada55' \ + --uuid '00000000:00000000:00000000:000000cc' \ --metadata 1 \ --level 0 \ --raid-devices ${#devices[@]} \