Skip to content

Commit 625695a

Browse files
Fix deprecated expression
1 parent 76e1a86 commit 625695a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/virt-machine/cloud_init.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data "template_file" "network_config" {
55
ip_address = element(var.ip_address, count.index)
66
ip_gateway = var.ip_gateway
77
ip_nameserver = var.ip_nameserver
8-
nic = "${var.share_filesystem.source == null ? "ens3" : "ens4"}"
8+
nic = (var.share_filesystem.source == null ? "ens3" : "ens4")
99
# WA: If the shared filesystem is used, Libvirt connects Unclassified device to the 3rd position of PCI bus
1010
}
1111
}

0 commit comments

Comments
 (0)