fix null variable
This commit is contained in:
parent
0096b77f3d
commit
5990d691dd
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
version: 2
|
||||
ethernets:
|
||||
ens3:
|
||||
%{ if fixed_address }
|
||||
%{ if fixed_address != "" }
|
||||
dhcp4: false
|
||||
addresses:
|
||||
- "${fixed_address}"
|
||||
|
|
|
@ -62,5 +62,5 @@ variable "data_disk" {
|
|||
|
||||
variable "fixed_address" {
|
||||
type = string
|
||||
default = null
|
||||
default = ""
|
||||
}
|
||||
|
|
Reference in a new issue