Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
438e0949e9
commit
c1f11d2660
@@ -114,7 +114,6 @@ resource "proxmox_virtual_environment_container" "infra" {
|
|||||||
node_name = each.value.node
|
node_name = each.value.node
|
||||||
vm_id = each.value.vmid
|
vm_id = each.value.vmid
|
||||||
tags = ["knaster", "infra"]
|
tags = ["knaster", "infra"]
|
||||||
pool_id = try(each.value.pool, "infra")
|
|
||||||
unprivileged = true
|
unprivileged = true
|
||||||
start_on_boot = true
|
start_on_boot = true
|
||||||
|
|
||||||
@@ -122,6 +121,11 @@ resource "proxmox_virtual_environment_container" "infra" {
|
|||||||
nesting = true # Docker im LXC
|
nesting = true # Docker im LXC
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Pool-Zuordnung per pveum (Pool infra): pool_id erzwingt beim Container ein Ersetzen
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = [pool_id]
|
||||||
|
}
|
||||||
|
|
||||||
cpu {
|
cpu {
|
||||||
cores = each.value.cores
|
cores = each.value.cores
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user