small fix

This commit is contained in:
teldra 2021-03-12 23:02:14 +01:00
parent 513be653a8
commit 0409d3868f
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ if [[ ! "${cfg[fde_key_store]}" == "none" ]]; then
target_partition="/dev/mapper/voidluks-${diskid}"
fi
mkswap "${target_partition}"
vgcreate -q -f "voidvg.${diskid}" "${target_partition}" || exit 1
lvcreate -q -y --name swap -L "${cfg[swapsize]}"G "voidvg.${diskid}"