run compute on terraform with libvirt hypervisor
Go to file
2020-07-28 23:45:32 +02:00
docker-kvm-qemu-libvirt@29eadc7b92 add readme 2020-07-26 18:18:08 +02:00
persitent init libvirt and stack 2020-07-28 23:45:32 +02:00
stack init libvirt and stack 2020-07-28 23:45:32 +02:00
.gitignore create one compute with terraform onto qemu 2020-07-26 18:10:07 +02:00
.gitmodules create one compute with terraform onto qemu 2020-07-26 18:10:07 +02:00
readme.md init libvirt and stack 2020-07-28 23:45:32 +02:00

terraform libvirt

prerequis

Setup libvirt provider for terraform https://github.com/dmacvicar/terraform-provider-libvirt/releases

yaourt -S terraform-provider-libvirt

Provision compute into qemu/kvm with terraform and libvirt provider

export LIBVIRT_DEFAULT_URI="qemu+tcp://127.0.0.1/system"

terraform init

terraform apply