fix: encryption, partitioning, cis and virtualization hardening
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
# Sizes are computed from disk_size_gb, memory_mb, and feature flags.
|
||||
#
|
||||
# Swap sizing:
|
||||
# - RAM >= 16 GB → swap = RAM/2 (in GB)
|
||||
# - RAM < 16 GB → swap = max(RAM_GB, 2)
|
||||
# - RAM >= 16 GB -> swap = RAM/2 (in GB)
|
||||
# - RAM < 16 GB -> swap = max(RAM_GB, 2)
|
||||
# - Capped to: min(target, 4 + max(disk - overhead, 0))
|
||||
# - Further capped to: max available after subtracting reserved + CIS + extent reserve + 4 GB buffer
|
||||
#
|
||||
# Root sizing:
|
||||
# - Full-disk mode (default): disk - reserved - swap - extent_reserve - (CIS volumes if enabled)
|
||||
# - Partial mode: tiered — <4 GB available → 4 GB, 4-12 GB → all available, >12 GB → 40% of disk
|
||||
# - Partial mode: tiered - <4 GB available -> 4 GB, 4-12 GB -> all available, >12 GB -> 40% of disk
|
||||
#
|
||||
# CIS volumes (only when CIS enabled):
|
||||
# - /home: max(min(home_raw, home_max), home_min) where home_raw = (disk - overhead) * 10%
|
||||
|
||||
Reference in New Issue
Block a user