feat(lawndale-vm): extra network interfaces
This commit is contained in:
@@ -47,6 +47,13 @@ resource "libvirt_domain" "this" {
|
||||
bridge = module.ipam.lawndale_interface
|
||||
mac = macaddress.this.address
|
||||
}
|
||||
dynamic "network_interface" {
|
||||
for_each = var.extra_interfaces
|
||||
content {
|
||||
bridge = network_interface.value.bridge
|
||||
mac = network_interface.value.mac
|
||||
}
|
||||
}
|
||||
|
||||
disk {
|
||||
volume_id = libvirt_volume.this.id
|
||||
|
||||
Reference in New Issue
Block a user