support fixed mac address
This commit is contained in:
parent
416889fc0c
commit
3591f3cb63
2 changed files with 6 additions and 0 deletions
1
debian/main.tf
vendored
1
debian/main.tf
vendored
|
@ -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
5
debian/variables.tf
vendored
|
@ -66,3 +66,8 @@ variable "ansible_command" {
|
||||||
type = string
|
type = string
|
||||||
default = "true"
|
default = "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "mac" {
|
||||||
|
type = string
|
||||||
|
default = null
|
||||||
|
}
|
||||||
|
|
Reference in a new issue