Structs§
- Lima
Render Options - Options for customizing Lima template rendering.
- MvmState
- RunInfo
- Run mode info persisted at
~/microvm/.mvm-run-infosostatuscan distinguish dev-mode VMs from flake-built VMs. - VmSlot
- Per-VM network + filesystem identity, derived from a slot index.
Constants§
- API_
SOCKET - BRIDGE_
CIDR - BRIDGE_
DEV - BRIDGE_
IP - FC_MAC
- GUEST_
IP - MASK_
SHORT - MICROVM_
DIR - Path inside the Lima VM (~ expands to the VM user’s home)
- TAP_DEV
- TAP_IP
- VMS_DIR
- Directory holding per-VM state: ~/microvm/vms/
/ - VM_NAME
Functions§
- render_
lima_ yaml - Render the Lima YAML template with config values and return a temp file. The caller must hold the returned NamedTempFile until limactl has read it.
- render_
lima_ yaml_ with - Render the Lima YAML template with custom options.