From 26a74f06ed2d8d74171cb5a4ad4e208a44bf8f76 Mon Sep 17 00:00:00 2001 From: Tinyblargon <76069640+Tinyblargon@users.noreply.github.com> Date: Thu, 25 Apr 2024 23:07:02 +0200 Subject: [PATCH] fix #961 --- proxmox/resource_vm_qemu.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index 904d693f..35515ad6 100755 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -208,6 +208,9 @@ func resourceVmQemu() *schema.Resource { // if new == "l26" { // return len(d.Get("clone").(string)) > 0 // the cloned source may have a different os, which we should leave alone // } + if new == "" { + return true + } return strings.TrimSpace(old) == strings.TrimSpace(new) }, },