--- /dev/null
+#!/bin/sh
+set -eu
+
+if [ ! -e rawhide.qcow2 ]; then
+ IMG=$(curl -s -L https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Cloud/x86_64/images/ | grep -o 'Fedora-Cloud-Base-Rawhide[^"]*qcow2' | head -n1)
+ curl -L -o rawhide.qcow2 https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Cloud/x86_64/images/$IMG
+fi
+
+# nothing fancy, just admin:foobar and root:foobar users
+[ -e cloud-init.iso ] || curl -L -O https://github.com/cockpit-project/bots/raw/main/machine/cloud-init.iso
+
+qemu-system-x86_64 -cpu host -enable-kvm -nographic -m 2048 -drive file=rawhide.qcow2,if=virtio -snapshot -cdrom cloud-init.iso -net nic,model=virtio -net user,hostfwd=tcp::22001-:22