Expand description
Single source of truth for every well-known file and cache-group name: installer artifacts, per-VM state files, portable-tree layout, cache groups. Renaming means editing here — a literal for one of these names anywhere else silently splits old/new state (a renamed file the code can’t find, a cache group that orphans gigabytes).
Deliberately NOT here: socket names (already in crate::ipc),
version pins (crate::pins), guest-arch mappings like firmware and
OpenSSH zip names (data belonging with the arch table in
crate::unattend), and include_str! source paths (must stay
literal). Tests keep literals on purpose: they guard these values.
Help text in main.rs repeats names for humans; those are docs.
Constants§
- DISK_
IMAGE - Boot disk
runboots andinstallwrites. - DRIVERS_
STAGE_ DIR - Stage subdir for an explicit
--drivers-dirtree. - FALLBACK_
QEMU_ CACHE - FALLBACK_
UNATTEND_ DIR - FALLBACK_
VM_ DIR - FALLBACK_
WINUSB_ IMAGE - INSTALL_
LOG - Installer QEMU’s stdout/stderr capture.
- ISO_
GROUP - LIVE_
OVERLAY - LIVE_
STATE_ FILE - Live-snapshot companions (all inside the VM dir, all removed when an install voids them): migrated RAM + device state, the VARS backup taken at the same instant (raw pflash is outside every snapshot), and the overlay that has held post-save writes since the pivot.
- LIVE_
VARS_ BACKUP - MARKER_
LINUX_ AARC H64 - MARKER_
LINUX_ X86_ 64 - MARKER_
MACOS_ ARM64 - Host-asset markers selecting the per-platform archive (and its pinned
hash in
crate::pins). Single source of truth:asset_for_hostand the pin lookups both match on these — never retype the literals. - MEDIA_
GROUP - PART_
TXT_ PATH - Partition script inside the installer USB tree.
- PORTABLE_
BIN_ DIR - Binary dir inside an extracted tree.
- QEMU_
ASSET_ PREFIX - Asset name prefix selecting this host’s QEMU archive in a release.
- QEMU_
GROUP - QEMU_
IMG_ NAME qemu-imgbinary name (sentinel proving a QEMU tree is extracted).- QEMU_
INNER - Extracted tree dir name (
<group>/<tag>/qemu-portable), for QEMU… - QEMU_
PIDFILE - QEMU pidfile: written on launch, removed by
stop. - SHA256SUMS_
FILE - Checksum sheet published next to release assets.
- TOOLS_
DIR - Driver/tools dir inside the installer USB tree.
- UNATTEND_
XML - Answer file at the installer USB root and in
genoutput dirs. - VARS_
FILE - Guest NVRAM copy, seeded from the portable firmware template.
- VIRTIO_
ISO - VirtIO driver ISO (vendored release asset, ISO cache, USB staging).
- VIRTIO_
ISO_ SHA256 - Hash sidecar next to the virtio release asset.
- VM_
GROUP - WIMLIB_
ASSET_ PREFIX - Asset name prefix selecting this host’s wimlib archive in a release.
- WIMLIB_
GROUP - WIMLIB_
IMGX_ NAME wimlib-imagexbinary name (sentinel proving a wimlib tree is extracted).- WIMLIB_
INNER - …and wimlib.
- WIN11_
ISO_ NAME - Windows 11 retail ISO filename used by the
fetchchain. Proven media is retail (Windows11_Client_*); non-retail (Enterprise/OEM) media has never been exercised (see README “Not tested”). - WINUSB_
IMAGE - USB installer image inside the media group.