1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix mac address schema validation for Qemu VM appliance. Fixes https://github.com/GNS3/gns3-gui/issues/2629

This commit is contained in:
grossmj 2018-11-18 16:20:50 +07:00
parent a33b8eac3a
commit 9b83b087cb

View File

@ -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": "^$"}