This repository contains scripts to quickly set up and launch an Arch Linux virtual machine using QEMU/KVM with cloud-init. The VM will have a user account with sudo privileges configured automatically. No Vagrant or Multipass is required.
arch-cloud.sh— Setup script: downloads Arch cloud image, creates cloud-init configuration, and generates a helper scriptstart.sh.start.sh— Generated byarch-cloud.sh; launches the VM with the parameters you configured.
Your host system must have:
- QEMU/KVM installed
opensslfor password hashinggenisoimageormkisofsto create the cloud-init ISO- Sufficient RAM, CPU, and disk space for the VM
- Linux host with KVM support (
/dev/kvmavailable)
sudo apt update
sudo apt install -y qemu-kvm libvirt-clients libvirt-daemon-system genisoimage openssl
sudo systemctl enable --now libvirtd