Skip to content

HyperGery v0.4.0

Choose a tag to compare

@Elgeryy1 Elgeryy1 released this 03 Jun 20:35

HyperGery v0.4.0 adds Lab Automation: instantiate labs from templates with guided ISO mapping, dry-run planning, and transactional rollback.

What's new

  • Create Lab from Template wizard (3 pages): Lab Identity with live preview, ISO Mapping with per-VM Browse button, Review summary before creation.
  • Planned VMs in Lab Templates now carry iso_required, role, and notes fields. VM Template defaults are resolved automatically when a planned VM references a template_id.
  • Transactional instantiation: instantiate_lab_template() creates the lab and all VMs sequentially. If any VM fails, already-created VMs and the lab manifest are removed. Partial rollback failures are surfaced as warnings.
  • dry_run=True: validates all ISOs, names, and resources without creating anything.
  • Edit VM Template / Edit Lab Template: update any field in place without delete + re-create.
  • Add / Remove Planned VMs from the Edit Lab Template dialog.
  • Duplicate Lab with VM Cloning: Clone VMs checkbox now enabled when VMs are present; clones qcow2 disks via qemu-img convert; requires all VMs shut off.
  • 20 new backend tests (121 total, 4 skipped on system Python).
  • New docs/LAB_AUTOMATION.md covering instantiation flow, dry-run, rollback, editing, and smoke test procedure.

Manual smoke (2026-06-03)

Validated on a real Ubuntu KVM/libvirt host: lab template with 2 planned VMs, ISO mapping wizard, VM creation, console, activity log, template editing, and cleanup.

Requirements

Ubuntu 22.04/24.04 with KVM/QEMU/libvirt. See README for install instructions.