From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH dart_api_client] add win11 ostype
Date: Wed, 17 Nov 2021 12:45:33 +0100 [thread overview]
Message-ID: <20211117114533.4049116-1-d.csapak@proxmox.com> (raw)
or else the deserialization will fail for vms with that ostype set
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
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
next reply other threads:[~2021-11-17 11:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 11:45 Dominik Csapak [this message]
2021-11-17 12:13 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211117114533.4049116-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox