diff --git a/internal/provider/virtualmachine/resource_virtualmachine_constructor.go b/internal/provider/virtualmachine/resource_virtualmachine_constructor.go index cdb3f515..b188b022 100644 --- a/internal/provider/virtualmachine/resource_virtualmachine_constructor.go +++ b/internal/provider/virtualmachine/resource_virtualmachine_constructor.go @@ -294,7 +294,6 @@ func (c *Constructor) Setup() util.Processors { vmBuilder.Input(inputName, inputType, inputBus) return nil }, - Required: true, }, } return append(processors, customProcessors...) @@ -336,6 +335,7 @@ func Updater(c *client.Client, ctx context.Context, vm *kubevirtv1.VirtualMachin vm.Spec.Template.Spec.Networks = []kubevirtv1.Network{} vm.Spec.Template.Spec.Domain.Devices.Interfaces = []kubevirtv1.Interface{} vm.Spec.Template.Spec.Domain.Devices.Disks = []kubevirtv1.Disk{} + vm.Spec.Template.Spec.Domain.Devices.Inputs = []kubevirtv1.Input{} vm.Spec.Template.Spec.Volumes = []kubevirtv1.Volume{} vm.Annotations[harvesterutil.AnnotationVolumeClaimTemplates] = "[]" return newVMConstructor(c, ctx, &builder.VMBuilder{