chore: set storage location to local

This commit is contained in:
2025-10-02 21:46:31 +10:00
parent 30e36beb93
commit c5559fbb38
6 changed files with 74 additions and 96 deletions

44
202-omada.tf Normal file
View File

@@ -0,0 +1,44 @@
resource "proxmox_lxc" "omada" {
# depends_on = [
# proxmox_vm_qemu.dev-docker
# ]
target_node = "pve"
vmid = "202"
hostname = "omada"
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
password = var.ci_password
unprivileged = false
ostype = "debian"
onboot = true
start = true
startup = "order=1000"
tags = "docker;container;appliance"
ssh_public_keys = <<EOF
${var.ssh_key}
EOF
memory = "4096"
swap = "512"
rootfs {
storage = "local"
size = "8G"
}
features {
fuse = true
nesting = true
mount = "nfs;cifs"
}
network {
name = "eth0"
bridge = "vmbr0"
ip = "10.10.40.2/24"
gw = "10.10.40.1"
tag = 40
ip6 = "auto"
}
}