remove some unused variables

This commit is contained in:
Lukas Greve
2025-09-07 20:10:23 +02:00
parent 86be10c776
commit 798cc871c8

View File

@@ -32,22 +32,7 @@ variable "image_location" {
type = string
default = "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
}
# In order to avoid refetching the cloud ISO each time, it could could be set to a local directory, like : "/var/lib/libvirt/images/noble-server-cloudimg-amd64.img"
# variable "cloudinit_user_data" {
# description = "User data for cloud-init"
# type = string
# default = <<EOF
# #cloud-config
# hostname: ubuntu-cloud-server
# fqdn: ubuntu-cloud-server.tf.local
# EOF
# }
# variable "cloud_init_file" {
# description = "Name of cloud-init config file"
# type = optional(string)
# }
# To avoid refetching the cloud ISO each time, it could could be set to a local directory, like : "/var/lib/libvirt/images/noble-server-cloudimg-amd64.img"
variable "cloudinit_filename" {
description = "Name of the cloud-init ISO file"
@@ -57,7 +42,7 @@ variable "cloudinit_filename" {
variable "user_data" {
description = "User data for cloud-init"
type = string
default = "data.template_file.user_data.rendered"
default = ""
}
variable "memory" {