variable "image_name" {
description = "libvirt_volume name for this base image, e.g. \"ubuntu-24.04-base.qcow2\"."
type = string
}
variable "pool_name" {
description = "libvirt_pool name this base image is stored in (output of modules/dc-storage-pool)."
type = string
}
variable "source_url" {
description = <<-EOT
URL to download the cloud image from (a real, chosen, cloud-init-capable
qcow2 -- e.g. an official Ubuntu/Debian cloud image URL). No default --
the image choice itself hasn't been made for any of Office1's service VMs
(MAAS-region, NetBox, GitBucket) yet; pass it explicitly once it has been.
NOTE: this pattern is confirmed for standard Linux cloud images (verified
against examples/alpine_cloudinit.tf); it is NOT confirmed to work
unmodified for OPNsense (FreeBSD-based -- cloud-init/NoCloud compatibility
is not guaranteed the same way). Do not assume this module covers OPNsense
without checking that first.
EOT
type = string
}