Skip to content

Instantly share code, notes, and snippets.

@smith153
smith153 / provision-uat.sh
Created July 18, 2026 18:04
Libvirt Powered Claude Sandbox
#!/usr/bin/env bash
set -euo pipefail
# ─────────────────────────────────────────────────────────────────────────────
# uat provisioner — LXQt + Chrome acceptance-testing desktop under qemu:///system.
# Runs entirely as your normal user (no sudo): disks live in a path you own,
# and libvirtd (already root) does the privileged VM/network work.
# Keep uat-cloud-init.yaml and uat-net.xml next to this script.
# ─────────────────────────────────────────────────────────────────────────────
# Pin a clean PATH so a custom python (pyenv/conda/etc.) can't shadow the system