initial commit

This commit is contained in:
2026-03-14 20:56:04 +01:00
commit 9b1aa393b3
38 changed files with 1517 additions and 0 deletions

28
incus/network.tf Normal file
View File

@@ -0,0 +1,28 @@
resource "incus_network" "main_bridge" {
for_each = var.incus_hypervisors
name = "main"
target = each.key
type = "physical"
config = {
"parent" = "br0"
}
}
resource "incus_network" "main_dummy" {
for_each = var.incus_witnesses
name = "main"
target = each.key
type = "physical"
config = {
"parent" = "dummy0"
}
}
resource "incus_network" "main" {
depends_on = [
incus_network.main_bridge,
incus_network.main_dummy
]
name = "main"
type = "physical"
}