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:
parent
a33b8eac3a
commit
9b83b087cb
@ -71,7 +71,7 @@ QEMU_APPLIANCE_PROPERTIES = {
|
|||||||
},
|
},
|
||||||
"mac_address": {
|
"mac_address": {
|
||||||
"description": "QEMU MAC address",
|
"description": "QEMU MAC address",
|
||||||
"type": "string",
|
"type": ["string", "null"],
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{"pattern": "^([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})$"},
|
{"pattern": "^([0-9a-fA-F]{2}[:]){5}([0-9a-fA-F]{2})$"},
|
||||||
{"pattern": "^$"}
|
{"pattern": "^$"}
|
||||||
|
Loading…
Reference in New Issue
Block a user