YueGuobin a1fcd29bce
fix(qemu): build a command line for a headless node
_console_options() fell through the "none" branch and returned None, so
_build_command() blew up on `command.extend(None)`: a QEMU node with
console_type "none" -- offered by the GUI, and what API/MCP-driven labs use
to skip the console entirely -- failed to start with a 500 and a traceback.

Return an empty list, exactly like _aux_options() already does, and cover it
with a test that builds the command line for a headless node. Verified on a
live instance: such a node now starts (204) with `console: null` and no
-serial device in the QEMU command line.
2026-10-06 00:21:08 +08:00
..
2026-09-27 18:59:42 +02:00
2026-08-18 18:02:53 +02:00
2026-10-03 19:43:58 +03:00
2026-09-27 19:10:11 +02:00
2024-04-22 18:51:29 +07:00
2026-10-03 19:43:58 +03:00
2026-09-27 20:21:12 +02:00