network names as a function of vm the name

This commit is contained in:
Lukas Greve
2025-09-14 12:07:07 +02:00
parent 2e6d1c1b8a
commit 79be0a2461
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
resource "libvirt_network" "tf_libvirt_tmp_network" {
name = var.network_name
resource "libvirt_network" "tf_libvirt_network" {
name = "${var.vm_name}-network"
mode = var.network_mode
domain = var.network_domain
addresses = var.network_addresses