test: add network template tests

This commit is contained in:
ajschroeder
2024-12-09 22:39:52 +00:00
parent 6c313c97d9
commit dbc24c6688
15 changed files with 227 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
variable "vm_network_device" {
type = string
description = "The network device of the VM."
default = "eth0"
}
variable "vm_ip_address" {
type = string
description = "The IP address of the VM (e.g. 172.16.100.192)."
default = null
}
variable "vm_ip_netmask" {
type = number
description = "The netmask of the VM (e.g. 24)."
default = null
}
variable "vm_ip_gateway" {
type = string
description = "The gateway of the VM (e.g. 172.16.100.1)."
default = null
}
variable "vm_dns_list" {
type = list(string)
description = "The nameservers of the VM."
default = []
}
variable "output_folder" {
type = string
description = "The output folder for the generated files."
}