public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH dart_api_client] add win11 ostype
@ 2021-11-17 11:45 Dominik Csapak
  2021-11-17 12:13 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2021-11-17 11:45 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied:  [PATCH dart_api_client] add win11 ostype
  2021-11-17 11:45 [pve-devel] [PATCH dart_api_client] add win11 ostype Dominik Csapak
@ 2021-11-17 12:13 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-11-17 12:13 UTC (permalink / raw)
  To: Proxmox VE development discussion, Dominik Csapak

On 17.11.21 12:45, Dominik Csapak wrote:
> 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(+)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 11:45 [pve-devel] [PATCH dart_api_client] add win11 ostype Dominik Csapak
2021-11-17 12:13 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal