From b1a13611f8777a76678e4c602fc10c64d512818d Mon Sep 17 00:00:00 2001
From: grossmj <grossmj@gns3.net>
Date: Fri, 12 Jan 2024 16:35:13 +1100
Subject: [PATCH] Add missing console type values in appliance_v7.json and
 appliance_v8.json

---
 schemas/appliance_v7.json | 4 ++--
 schemas/appliance_v8.json | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/schemas/appliance_v7.json b/schemas/appliance_v7.json
index deba95a..28b445e 100644
--- a/schemas/appliance_v7.json
+++ b/schemas/appliance_v7.json
@@ -133,7 +133,7 @@
                 "title": "One KEY=VAR environment by line"
             },
             "console_type": {
-              "enum": ["telnet", "vnc", "http", "https"],
+              "enum": ["telnet", "vnc", "http", "https", "none"],
               "title": "Type of console connection for the administration of the appliance"
             },
             "console_http_port": {
@@ -344,7 +344,7 @@
           "title": "Architecture emulated"
         },
         "console_type": {
-          "enum": ["telnet", "vnc", "spice"],
+          "enum": ["telnet", "vnc", "spice", "spice+agent", "none"],
           "title": "Type of console connection for the administration of the appliance"
         },
         "boot_priority": {
diff --git a/schemas/appliance_v8.json b/schemas/appliance_v8.json
index 55c245b..043ef26 100644
--- a/schemas/appliance_v8.json
+++ b/schemas/appliance_v8.json
@@ -57,7 +57,8 @@
             "telnet",
             "vnc",
             "http",
-            "https"
+            "https",
+            "none"
           ],
           "title": "Type of console"
         },
@@ -502,7 +503,8 @@
             "telnet",
             "vnc",
             "spice",
-            "spice+agent"
+            "spice+agent",
+            "none"
           ],
           "title": "Type of console connection for the administration of the appliance"
         },