diff options
-rw-r--r-- | setup-disk.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-disk.in b/setup-disk.in index 54f078f..0f00de9 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -1057,7 +1057,7 @@ data_only_disk_install_lvm() { local vgname=vg0 local var_dev=/dev/$vgname/lv_var local lvm_part_type=$(partition_id lvm) - local size= + local size=$LVM_SIZE unset BOOTLOADER init_progs || return 1 @@ -1161,7 +1161,7 @@ native_disk_install_lvm() { local lvm_part_type=$(partition_id lvm) local boot_part_type=$(partition_id linux) local boot_size=${BOOT_SIZE:-100} - local lvm_size= + local lvm_size=$LVM_SIZE local root_dev=/dev/$vgname/lv_root init_progs $(select_bootloader_pkg) || return 1 |