run compute on terraform with libvirt hypervisor
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
RouxAntoine 6fbedaa474 adapt domain creation to controller and worker scenario 2 个月前
applications adapt domain creation to controller and worker scenario 2 个月前
base Add count to generate multiple domain 2 个月前
docker-kvm-qemu-libvirt @ ebd073a56c Add count to generate multiple domain 2 个月前
stack adapt domain creation to controller and worker scenario 2 个月前
.gitignore adapt ansible inventory genearted by terraform to produce multiple domain group 2 个月前
.gitmodules update add /projects prefix to submodule 2 个月前
Makefile adapt domain creation to controller and worker scenario 2 个月前
env.sh configure cloud-init to setup dns and install lvm2 at startup 8 个月前
readme.md init libvirt and stack 8 个月前

readme.md

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