Change LVM /root def to adapt dynamically (#4005)
* Change def size from 20 -> 32 Rest is still calculated from available - root. * Use the existing process_root_partition_size(): For LVM just like regular disk best-effort. This is only for single disk layouts.
This commit is contained in:
parent
ba5f924540
commit
1227babd8c
|
|
@ -602,7 +602,7 @@ def suggest_lvm_layout(
|
|||
[p.length for p in other_part],
|
||||
Size(0, Unit.B, SectorSize.default()),
|
||||
)
|
||||
root_vol_size = Size(20, Unit.GiB, SectorSize.default())
|
||||
root_vol_size = process_root_partition_size(total_vol_available, SectorSize.default())
|
||||
home_vol_size = total_vol_available - root_vol_size
|
||||
|
||||
lvm_vol_group = LvmVolumeGroup(vg_grp_name, pvs=other_part)
|
||||
|
|
|
|||
Loading…
Reference in New Issue