parent
e4f5ca2fc9
commit
3d8242b314
22 changed files with 340 additions and 211 deletions
17
terraform/incus/instances.tf
Normal file
17
terraform/incus/instances.tf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
resource "incus_instance" "zen" {
|
||||
name = "zen"
|
||||
image = incus_image.nixos-lxc-base.fingerprint
|
||||
|
||||
config = {
|
||||
"boot.autostart" = true
|
||||
"limits.cpu" = 2
|
||||
}
|
||||
|
||||
device {
|
||||
name = "zfs"
|
||||
type = "unix-block"
|
||||
properties = {
|
||||
source = "/dev/disk/by-id/wwn-0x50014ee2671b7f30"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue