Compare commits
No commits in common. "4fb37fbe4f829ab7a9f5f56edfa80f79c23cbfaf" and "63e24789a2f528a0d089f80b76c99d05e00f4aae" have entirely different histories.
4fb37fbe4f
...
63e24789a2
1 changed files with 19 additions and 17 deletions
|
|
@ -5,32 +5,34 @@ resource "incus_profile" "d" {
|
||||||
"limits.cpu" = 2
|
"limits.cpu" = 2
|
||||||
"security.nesting" = true
|
"security.nesting" = true
|
||||||
"boot.autostart" = true
|
"boot.autostart" = true
|
||||||
"security.privileged" = false
|
|
||||||
"security.syscalls.intercept.mount" = false
|
|
||||||
}
|
|
||||||
device {
|
|
||||||
name = "eth0"
|
|
||||||
type = "nic"
|
|
||||||
properties = {
|
|
||||||
network = "incusbr0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
device {
|
# device {
|
||||||
type = "disk"
|
# name = "shared"
|
||||||
name = "root"
|
# type = "disk"
|
||||||
|
|
||||||
properties = {
|
# properties = {
|
||||||
pool = "default"
|
# source = "/tmp"
|
||||||
path = "/"
|
# path = "/tmp"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
|
# device {
|
||||||
|
# type = "disk"
|
||||||
|
# name = "root"
|
||||||
|
|
||||||
|
# properties = {
|
||||||
|
# pool = "default"
|
||||||
|
# path = "/"
|
||||||
|
# }
|
||||||
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "incus_instance" "observer-tofu" {
|
resource "incus_instance" "observer-tofu" {
|
||||||
name = "observer-tofu"
|
name = "observer-tofu"
|
||||||
image = "images:nixos/25.05/amd64"
|
image = "images:nixos/25.05/amd64"
|
||||||
profiles = [
|
profiles = [
|
||||||
|
"default",
|
||||||
incus_profile.d.name
|
incus_profile.d.name
|
||||||
]
|
]
|
||||||
config = {
|
config = {
|
||||||
|
|
|
||||||
Reference in a new issue