Go to file
Fabian Lee d97a605e67 tests for routed and nat networks using terraform libvirt provider 2021-08-08 18:32:52 -04:00
datadisks group membership in cloud-init. removed tfstate files 2020-02-17 22:27:00 +00:00
iso-install fix on write_files indentation, spacing 2020-02-22 12:19:41 +00:00
lclone-cinit fix on write_files indentation, spacing 2020-02-22 12:19:41 +00:00
linkedclone fix on write_files indentation, spacing 2020-02-22 12:19:41 +00:00
nat-networks tests for routed and nat networks using terraform libvirt provider 2021-08-08 18:32:52 -04:00
nestedkvm group membership in cloud-init. removed tfstate files 2020-02-17 22:27:00 +00:00
net-install group membership in cloud-init. removed tfstate files 2020-02-17 22:27:00 +00:00
routed-networks tests for routed and nat networks using terraform libvirt provider 2021-08-08 18:32:52 -04:00
simple Fix: typo in simple/cloud_init.cfg (#2) 2020-07-25 07:40:36 -04:00
staticip using newest ubuntu 20.04 focal instead of 18.04 bionic 2021-05-24 13:33:26 +00:00
.gitignore group membership in cloud-init. removed tfstate files 2020-02-17 22:27:00 +00:00
README.md linked to blog entry 2020-02-22 12:36:24 +00:00

README.md

terraform-libvirt provider for Ubuntu hosts

Described in blog entry: https://fabianlee.org/2020/02/22/kvm-terraform-and-cloud-init-to-create-local-kvm-resources

cloud-init

  • simple - simple host with DHCP address
  • staticip - host with static IP address
  • datadisks - host with 2 additional data disks, one xfs and the other ext4
  • nestedkvm - passes through cpu features, installed docker and kvm with data drive
  • lclone-cinit - linked clone using backing file with cloud-init for customization

traditional install media

  • net-install - Ubuntu net installer
  • iso-install - Ubuntu fat ISO installer
  • linkedclone - linked clone using backing file from ISO installer

Usage

Go into any of the example directories:

  • make create-keypair
  • make init
  • make apply