terraform-libvirt/readme.md
2020-07-28 23:45:32 +02:00

19 lines
414 B
Markdown

# terraform libvirt
## prerequis
Setup libvirt provider for terraform [https://github.com/dmacvicar/terraform-provider-libvirt/releases](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`