From 9b83b087cb44557fe402e45383f52835e1294985 Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 18 Nov 2018 16:20:50 +0700 Subject: [PATCH] Fix mac address schema validation for Qemu VM appliance. Fixes https://github.com/GNS3/gns3-gui/issues/2629 --- gns3server/schemas/qemu_appliance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/schemas/qemu_appliance.py b/gns3server/schemas/qemu_appliance.py index dd7caace..a5fa7d4a 100644 --- a/gns3server/schemas/qemu_appliance.py +++ b/gns3server/schemas/qemu_appliance.py @@ -71,7 +71,7 @@ QEMU_APPLIANCE_PROPERTIES = { }, "mac_address": { "description": "QEMU MAC address", - "type": "string", + "type": ["string", "null"], "anyOf": [ {"pattern": "^([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})$"}, {"pattern": "^$"}