From e875c0301a86e10a398b8f690265cf687d68cb77 Mon Sep 17 00:00:00 2001 From: vmvarga <38255353+vmvarga@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:57:31 +0300 Subject: [PATCH 1/2] Update resource_lxc.go --- proxmox/resource_lxc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox/resource_lxc.go b/proxmox/resource_lxc.go index 56693581..955a6c4f 100644 --- a/proxmox/resource_lxc.go +++ b/proxmox/resource_lxc.go @@ -256,7 +256,7 @@ func resourceLxc() *schema.Resource { Optional: true, }, "mtu": { - Type: schema.TypeString, + Type: schema.TypeInt, Optional: true, }, "rate": { From 948830b9312a37f7fcf2c625f0d898c6340ab841 Mon Sep 17 00:00:00 2001 From: vmvarga <38255353+vmvarga@users.noreply.github.com> Date: Mon, 14 Feb 2022 14:58:49 +0300 Subject: [PATCH 2/2] Update resource_vm_qemu.go --- proxmox/resource_vm_qemu.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index 3c104b48..cfd19264 100755 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -269,6 +269,10 @@ func resourceVmQemu() *schema.Resource { Optional: true, Computed: true, }, + "mtu": { + Type: schema.TypeInt, + Optional: true, + }, "queues": { Type: schema.TypeInt, Optional: true,