Fixed edge case where size of disks could be exactly 40GB and a /home would never be created on single devices.
This commit is contained in:
parent
278ded8e74
commit
e88ac430f2
|
|
@ -146,7 +146,7 @@ def suggest_single_disk_layout(block_device):
|
|||
}
|
||||
})
|
||||
|
||||
if block_device.size > MIN_SIZE_TO_ALLOW_HOME_PART:
|
||||
if block_device.size >= MIN_SIZE_TO_ALLOW_HOME_PART:
|
||||
layout[block_device]['partitions'].append({
|
||||
# Home
|
||||
"type" : "primary",
|
||||
|
|
|
|||
Loading…
Reference in New Issue