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:
YueGuobin committed 2026-08-13 02:05:17 +08:00
1 parent 8889cea38b
commit 141b3d8701
1 file changed
+1
@@ -285,6 +285,7 @@ class DockerConsoleType(str, Enum):
http = 'http'
https = 'https'
none = 'none'
docker_exec = 'docker_exec'
class ChecksumType(str, Enum):