parent
e4f5ca2fc9
commit
3d8242b314
22 changed files with 340 additions and 211 deletions
26
terraform/incus/main.tf
Normal file
26
terraform/incus/main.tf
Normal 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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue