ks: drop init_on_alloc/init_on_free from live cmdline (5x boot time on KVM)
Live ISO stalled at dracut for 5+min on KVM with init_on_alloc=1 init_on_free=1 — kernel zeroes every page on alloc/free, brutal in virtualized memory. Keep slab_nomerge + lockdown=integrity + randomize_kstack + vsyscall=none for live (cheap). Re-add memory init flags on installed system via veilor-firstboot post-install GRUB edit (planned v0.3).
This commit is contained in:
parent
a23ce6310a
commit
8515bdbe38
1 changed files with 4 additions and 1 deletions
|
|
@ -48,7 +48,10 @@ rootpw --lock
|
|||
user --name=admin --groups=wheel --gecos="veilor admin" --password="" --plaintext
|
||||
|
||||
# ── Bootloader: kernel hardening flags ──
|
||||
bootloader --location=mbr --append="lockdown=integrity slab_nomerge init_on_alloc=1 init_on_free=1 randomize_kstack_offset=on vsyscall=none"
|
||||
# Note: init_on_alloc/init_on_free removed from default live cmdline —
|
||||
# they zero every memory page at boot which 5x'd KVM live boot time.
|
||||
# Re-enable per-install via veilor-firstboot.service for production.
|
||||
bootloader --location=mbr --append="lockdown=integrity slab_nomerge randomize_kstack_offset=on vsyscall=none"
|
||||
|
||||
# ── Live ISO partitioning (flat — for live rootfs build only) ──
|
||||
# NOTE: This is the *live* image kickstart. Final installed system uses
|
||||
|
|
|
|||
Loading…
Reference in a new issue