Fixed missing swap false check for single disk layouts

This commit is contained in:
oddlama 2020-12-01 15:07:20 +01:00
parent 8ff794567a
commit caf9051930
No known key found for this signature in database
GPG Key ID: 88EA325D51D53908
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ create_single_disk_layout() {
else else
DISK_ID_BIOS="part_$type" DISK_ID_BIOS="part_$type"
fi fi
[[ $size_swap != "false" ]] && \
DISK_ID_SWAP=part_swap DISK_ID_SWAP=part_swap
DISK_ID_ROOT="$root_id" DISK_ID_ROOT="$root_id"