terraform-libvirt/readme.md

19 lines
414 B
Markdown
Raw Permalink Normal View History

2020-07-26 16:18:08 +00:00
# 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
2020-07-28 21:45:32 +00:00
`export LIBVIRT_DEFAULT_URI="qemu+tcp://127.0.0.1/system"`
2020-07-26 16:18:08 +00:00
`terraform init`
`terraform apply`
2020-07-28 21:45:32 +00:00