Skip to main content

Module config

Module config 

Source

Structs§

LimaRenderOptions
Options for customizing Lima template rendering.
MvmState
RunInfo
Run mode info persisted at ~/microvm/.mvm-run-info so status can 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.