mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
appliance: accept docker_exec console type in Docker appliances
The Docker appliance Pydantic model (DockerConsoleType) rejected console_type='docker_exec', so an appliance file using the vendor NOS docker_exec console could not be loaded (validation error at import). Add docker_exec to the enum — it is already a valid ConsoleType (schemas/common.py) and is handled by VendorDockerVM.
This commit is contained in:
parent
8889cea38b
commit
141b3d8701
@ -285,6 +285,7 @@ class DockerConsoleType(str, Enum):
|
||||
http = 'http'
|
||||
https = 'https'
|
||||
none = 'none'
|
||||
docker_exec = 'docker_exec'
|
||||
|
||||
|
||||
class ChecksumType(str, Enum):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user