From 3591f3cb6302311d442dc665448795ad9322a1e8 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 9 Apr 2023 13:36:40 +0200 Subject: [PATCH] support fixed mac address --- debian/main.tf | 1 + debian/variables.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/debian/main.tf b/debian/main.tf index b188cdb..ef3a869 100644 --- a/debian/main.tf +++ b/debian/main.tf @@ -26,4 +26,5 @@ module "tf_debian_vm" { data_disk = var.data_disk fixed_address = var.fixed_address ansible_command = var.ansible_command + mac = var.mac } diff --git a/debian/variables.tf b/debian/variables.tf index 5b5d907..42d4642 100644 --- a/debian/variables.tf +++ b/debian/variables.tf @@ -66,3 +66,8 @@ variable "ansible_command" { type = string default = "true" } + +variable "mac" { + type = string + default = null +}