This commit is contained in:
Marc Beninca 2023-10-03 09:59:55 +02:00
parent cf4d945350
commit 7cbe78dbc6

View file

@ -259,14 +259,13 @@ function hetzner-rescue-wipe-12-10-10 {
--label 'swap' \ --label 'swap' \
-U '06234a0e-b29a-3a84-71db-d5ec4bada557' \ -U '06234a0e-b29a-3a84-71db-d5ec4bada557' \
'/dev/mapper/crypt-swap' '/dev/mapper/crypt-swap'
#### # format data
mkfs.ext4 \
-L 'data' \
-U '006234a0-eb29-a3a8-471d-bd5ec4bada55' \
'/dev/mapper/crypt-data'
# vg off # vg off
vgchange --activate n 'crypt' vgchange --activate n 'crypt'
# close # close
cryptsetup luksClose 'crypt' cryptsetup luksClose 'crypt'
} }
function hetzner-rescue-wipe-12-10-10-extra {
# format data
mkfs.ext4 -L 'data' '/dev/mapper/crypt-data'
}