Make Pimox template replacement rerun provisioning
Homelab Main / validate (push) Waiting to run Details
Homelab Main / deploy (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-09-25 13:48:06 -06:00
parent 0b36e21a38
commit bcf45c6e8b
1 changed files with 12 additions and 11 deletions

View File

@ -133,17 +133,18 @@ resource "null_resource" "pimox_template_vm_create" {
pimox_user = var.pimox_user
ssh_key_path = var.pimox_ssh_key_path
qm_bin = var.pimox_qm_bin
builder_version = "6"
config_hash = local.config_hash
vmid = tostring(var.pimox_template_vmid)
name = var.pimox_template_name
cores = tostring(var.pimox_template_cores)
memory = tostring(var.pimox_template_memory)
bridge = var.pimox_template_bridge
net0 = local.pimox_template_net0
kvm_cpuset = var.pimox_template_kvm_cpuset
scsi0 = var.pimox_template_scsi0
efidisk0 = var.pimox_template_efidisk0
builder_version = "7"
config_hash = local.config_hash
replace_existing = tostring(var.pimox_template_replace_existing)
vmid = tostring(var.pimox_template_vmid)
name = var.pimox_template_name
cores = tostring(var.pimox_template_cores)
memory = tostring(var.pimox_template_memory)
bridge = var.pimox_template_bridge
net0 = local.pimox_template_net0
kvm_cpuset = var.pimox_template_kvm_cpuset
scsi0 = var.pimox_template_scsi0
efidisk0 = var.pimox_template_efidisk0
}
connection {