[incus] add project and profile management
This commit is contained in:
12
incus/profile.tf
Normal file
12
incus/profile.tf
Normal file
@@ -0,0 +1,12 @@
|
||||
resource "incus_profile" "default" {
|
||||
name = "default"
|
||||
description = "Default Incus profile"
|
||||
device {
|
||||
name = "eth0"
|
||||
properties = {
|
||||
"name" = "eth0"
|
||||
"network" = module.network["main"].name
|
||||
}
|
||||
type = "nic"
|
||||
}
|
||||
}
|
||||
9
incus/project.tf
Normal file
9
incus/project.tf
Normal file
@@ -0,0 +1,9 @@
|
||||
resource "incus_project" "default" {
|
||||
name = "default"
|
||||
description = "Default Incus project"
|
||||
|
||||
config = {
|
||||
"features.networks" = "true"
|
||||
"features.networks.zones" = "true"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user