diff --git a/environments/centos-10-cloud-bios/main.tf b/environments/centos-10-cloud-bios/main.tf new file mode 100644 index 0000000..2a632d4 --- /dev/null +++ b/environments/centos-10-cloud-bios/main.tf @@ -0,0 +1,22 @@ +terraform { + required_version = ">= 0.13" + required_providers { + libvirt = { + source = "dmacvicar/libvirt" + version = "0.8.3" + } + } +} + +provider "libvirt" { + uri = "qemu:///system" +} + +module "shared_modules" { + source = "../../shared_modules" + + vm_name = "cent10-bios" + image_location = "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-10-latest.x86_64.qcow2" + ssh_key = "" # please provide a SSH public key + enable_cloudinit = true +}