Homelab infrastructure definitions and setup
Terraform definition for my cluster via KVM and libvirt
mkisofs
to create the cloudinit isoOn mac you can get get ready with this steps
brew install terraform libvirt cdrtools
./install_libvirt_terraform_provider.sh
Could not open '/var/lib/libvirt/images/<FILE_NAME>': Permission denied
errors. Double check that security_driver = "none"
is uncommented in /etc/libvirt/qemu.conf
and issue sudo systemctl restart libvirt-bin
to restart the daemon on your host.
export TF_VAR_virt_host=<your_host_hostname_or_ip>
terraform init
terraform plan
terraform apply