Skip to content

Libvirt Terraform provider

Server setup

Create libvirt directpry storage pool (LVM doesn't work, see below):

virsh pool-create-as default  --type dir --target /var/lib/libvirt/images
virsh pool-autostart default

Issues with LVM storage pool:

Terraform setup

Install on laptop (for cloud-init disk):

sudo pacman -S cdrtools

Cloud-init

Issues