opentofu incus
Some checks failed
/ check (push) Has been cancelled

This commit is contained in:
iofq 2026-03-21 13:41:50 -05:00
parent e4f5ca2fc9
commit 3d8242b314
22 changed files with 340 additions and 211 deletions

26
terraform/incus/main.tf Normal file
View file

@ -0,0 +1,26 @@
terraform {
required_providers {
incus = {
source = "lxc/incus"
}
}
}
provider "incus" {
generate_client_certificates = true
accept_remote_certificate = true
default_remote = "incus"
remote {
name = "incus"
address = "https://incus:8443"
}
}
resource "incus_network" "enp4s0" {
name = "enp4s0"
type = "physical"
config = {
parent = "enp4s0"
}
}