fix: use system libvirt with /tmp storage for virt-manager visibility

- Changed from qemu:///session to qemu:///system so VMs appear in virt-manager
- Store disk and ISO in /tmp (user-writable, no sudo needed)
- User is in libvirt group so can access system libvirt without sudo
- Updated test to expect system URI

This fixes the regression where VMs were not visible in virt-manager.

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
Charles N Wyble
2026-02-20 10:22:48 -05:00
parent af03f2feba
commit c8b004cf3e
4 changed files with 580 additions and 6 deletions

View File

@@ -253,8 +253,8 @@
grep -q 'VM_DISK_SIZE=' /workspace/run.sh
}
@test "run.sh uses session libvirt URI (no root required)" {
grep -q 'qemu:///session' /workspace/run.sh
@test "run.sh uses system libvirt URI" {
grep -q 'qemu:///system' /workspace/run.sh
}
# =============================================================================