Make Pimox template replacement rerun provisioning
This commit is contained in:
parent
0b36e21a38
commit
bcf45c6e8b
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue