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 pimox_user = var.pimox_user
ssh_key_path = var.pimox_ssh_key_path ssh_key_path = var.pimox_ssh_key_path
qm_bin = var.pimox_qm_bin qm_bin = var.pimox_qm_bin
builder_version = "6" builder_version = "7"
config_hash = local.config_hash config_hash = local.config_hash
vmid = tostring(var.pimox_template_vmid) replace_existing = tostring(var.pimox_template_replace_existing)
name = var.pimox_template_name vmid = tostring(var.pimox_template_vmid)
cores = tostring(var.pimox_template_cores) name = var.pimox_template_name
memory = tostring(var.pimox_template_memory) cores = tostring(var.pimox_template_cores)
bridge = var.pimox_template_bridge memory = tostring(var.pimox_template_memory)
net0 = local.pimox_template_net0 bridge = var.pimox_template_bridge
kvm_cpuset = var.pimox_template_kvm_cpuset net0 = local.pimox_template_net0
scsi0 = var.pimox_template_scsi0 kvm_cpuset = var.pimox_template_kvm_cpuset
efidisk0 = var.pimox_template_efidisk0 scsi0 = var.pimox_template_scsi0
efidisk0 = var.pimox_template_efidisk0
} }
connection { connection {