data
This commit is contained in:
parent
cf4d945350
commit
7cbe78dbc6
1 changed files with 5 additions and 6 deletions
|
@ -259,14 +259,13 @@ function hetzner-rescue-wipe-12-10-10 {
|
|||
--label 'swap' \
|
||||
-U '06234a0e-b29a-3a84-71db-d5ec4bada557' \
|
||||
'/dev/mapper/crypt-swap'
|
||||
####
|
||||
# format data
|
||||
mkfs.ext4 \
|
||||
-L 'data' \
|
||||
-U '006234a0-eb29-a3a8-471d-bd5ec4bada55' \
|
||||
'/dev/mapper/crypt-data'
|
||||
# vg off
|
||||
vgchange --activate n 'crypt'
|
||||
# close
|
||||
cryptsetup luksClose 'crypt'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-12-10-10-extra {
|
||||
# format data
|
||||
mkfs.ext4 -L 'data' '/dev/mapper/crypt-data'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue