pub const ENV_HANDOFF_INIT: &str = "MSB_HANDOFF_INIT";Expand description
Environment variable selecting a guest init binary for PID 1 handoff.
When set, agentd performs initial setup (mounts, runtime dirs), then forks. The parent execs the binary at this path, becoming the new PID 1. The child stays alive as a normal grandchild process serving host requests over virtio-serial.
Format: bare absolute path inside the guest rootfs, or the literal
sentinel HANDOFF_INIT_AUTO which triggers a candidate probe in
agentd (see HANDOFF_INIT_AUTO_CANDIDATES).
Examples:
MSB_HANDOFF_INIT=/lib/systemd/systemdMSB_HANDOFF_INIT=auto