VM instance

test instance

A test that declares template — a full QEMU/KVM VM cloned from a vmlab template. Linux or Windows, real init, reboots.

A test block declaring template runs in a full VM cloned from a vmlab template. It is the only kind with a real init system, its own kernel and the ability to reboot, and the only one that can run Windows guests. Scenarios always use VMs.

FieldValue
declared withtemplate = "x86_64/ubuntu-24.04"
guest OSLinux or Windows, detected from the guest agent
requiresthe template must ship the vmlab guest agent
instanceeach group gets a throwaway one-VM lab
parallelism--vm-jobs N (default 2 — VMs are heavy)
Windows guestsServer 2019 / Windows 10 or newer

Reach for a VM when the test needs systemd/OpenRC/runit to actually be running, a reboot, or Windows. A fresh Windows clone costs several minutes on its first boot, so group Windows tests together.