This commit is contained in:
parent
52e26582ba
commit
ff8c382bf1
1 changed files with 19 additions and 23 deletions
|
|
@ -8,33 +8,29 @@ resource "incus_profile" "d" {
|
||||||
"security.privileged" = false
|
"security.privileged" = false
|
||||||
"security.syscalls.intercept.mount" = false
|
"security.syscalls.intercept.mount" = false
|
||||||
}
|
}
|
||||||
|
device {
|
||||||
|
name = "eth0"
|
||||||
|
type = "nic"
|
||||||
|
properties = {
|
||||||
|
network = "incusbr0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# device {
|
device {
|
||||||
# name = "shared"
|
type = "disk"
|
||||||
# type = "disk"
|
name = "root"
|
||||||
|
|
||||||
# properties = {
|
properties = {
|
||||||
# source = "/tmp"
|
pool = "default"
|
||||||
# path = "/tmp"
|
path = "/"
|
||||||
# }
|
}
|
||||||
# }
|
}
|
||||||
|
|
||||||
# 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