From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 54995803A4 for ; Wed, 17 Nov 2021 12:45:36 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4937BB703 for ; Wed, 17 Nov 2021 12:45:36 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 36138B6F8 for ; Wed, 17 Nov 2021 12:45:35 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 1127E43D9A for ; Wed, 17 Nov 2021 12:45:35 +0100 (CET) From: Dominik Csapak To: pve-devel@lists.proxmox.com Date: Wed, 17 Nov 2021 12:45:33 +0100 Message-Id: <20211117114533.4049116-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.214 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH dart_api_client] add win11 ostype X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2021 11:45:36 -0000 or else the deserialization will fail for vms with that ostype set Signed-off-by: Dominik Csapak --- lib/src/models/pve_nodes_qemu_config_model.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/models/pve_nodes_qemu_config_model.dart b/lib/src/models/pve_nodes_qemu_config_model.dart index 0445476..bbe5d00 100644 --- a/lib/src/models/pve_nodes_qemu_config_model.dart +++ b/lib/src/models/pve_nodes_qemu_config_model.dart @@ -139,6 +139,7 @@ class OSType extends EnumClass { static const OSType win7 = _$win7; static const OSType win8 = _$win8; static const OSType win10 = _$win10; + static const OSType win11 = _$win11; static const OSType l24 = _$l24; static const OSType l26 = _$l26; static const OSType solaris = _$solaris; @@ -152,6 +153,7 @@ class OSType extends EnumClass { l26: {'desc': '5.x - 2.6 Kernel', 'type': 'Linux'}, l24: {'desc': '2.4 Kernel', 'type': 'Linux'}, win10: {'desc': '10/2016/2019', 'type': 'Microsoft Windows'}, + win11: {'desc': '11/2022', 'type': 'Microsoft Windows'}, win8: {'desc': '8.x/2012/2012r2', 'type': 'Microsoft Windows'}, win7: {'desc': '7/2008r2', 'type': 'Microsoft Windows'}, w2k8: {'desc': 'Vista/2008', 'type': 'Microsoft Windows'}, -- 2.30.2