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