run compute on terraform with libvirt hypervisor
Go to file
2021-01-31 15:53:46 +01:00
applications adapt domain creation to controller and worker scenario 2021-01-31 15:53:46 +01:00
base Add count to generate multiple domain 2021-01-23 21:45:22 +01:00
docker-kvm-qemu-libvirt@ebd073a56c Add count to generate multiple domain 2021-01-23 21:45:22 +01:00
stack adapt domain creation to controller and worker scenario 2021-01-31 15:53:46 +01:00
.gitignore adapt ansible inventory genearted by terraform to produce multiple domain group 2021-01-31 13:23:49 +01:00
.gitmodules update add /projects prefix to submodule 2021-01-24 22:05:28 +01:00
env.sh configure cloud-init to setup dns and install lvm2 at startup 2020-08-11 01:05:35 +02:00
Makefile adapt domain creation to controller and worker scenario 2021-01-31 15:53:46 +01: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