support fixed mac address

This commit is contained in:
Pim Kunis 2023-04-09 13:36:40 +02:00
parent 416889fc0c
commit 3591f3cb63
2 changed files with 6 additions and 0 deletions

1
debian/main.tf vendored
View file

@ -26,4 +26,5 @@ module "tf_debian_vm" {
data_disk = var.data_disk data_disk = var.data_disk
fixed_address = var.fixed_address fixed_address = var.fixed_address
ansible_command = var.ansible_command ansible_command = var.ansible_command
mac = var.mac
} }

5
debian/variables.tf vendored
View file

@ -66,3 +66,8 @@ variable "ansible_command" {
type = string type = string
default = "true" default = "true"
} }
variable "mac" {
type = string
default = null
}