From ce9d54419147cee6d7549389997720aaf3b41bcb Mon Sep 17 00:00:00 2001 From: joshsiv-mulga Date: Sun, 17 May 2026 20:51:46 +1000 Subject: [PATCH] feat(config): enable microvm direct-boot LB path by default Uncomments the [nodes..daemon.microvm] section in the generated spinifex.toml template and sets elbv2_enabled = true so all new clusters bring up ELBv2 LBs via the direct-boot microvm path. Operators can opt back to the legacy PC-machine path by flipping the flag to false in the rendered config. Required for end-to-end CI on this branch to exercise the direct-boot path. Existing clusters' configs are unchanged (the template only affects fresh 'spx admin init' renders). --- cmd/spinifex/cmd/templates/spinifex.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/spinifex/cmd/templates/spinifex.toml b/cmd/spinifex/cmd/templates/spinifex.toml index fc237212b..0f061e830 100644 --- a/cmd/spinifex/cmd/templates/spinifex.toml +++ b/cmd/spinifex/cmd/templates/spinifex.toml @@ -72,8 +72,10 @@ dev_networking = true gpu_passthrough = true {{- end}} -# [nodes.{{.Node}}.daemon.microvm] -# elbv2_enabled = false +[nodes.{{.Node}}.daemon.microvm] +# New LBs use the direct-boot microvm path on Linux/x86 hosts. +# Flip to false to fall back to the legacy PC-machine path. +elbv2_enabled = true # image_path = "/usr/share/spinifex/microvm" # isa_serial = true # set false only after measuring boot savings; disables per-VM console log