From 571e9b1878757b3f66f146b442ab6c0d19b5c1c5 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:27:09 +0800 Subject: [PATCH] perf: gateway closed domain (#9334) Co-authored-by: feng <1304903146@qq.com> --- apps/assets/const/host.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/assets/const/host.py b/apps/assets/const/host.py index 295337b51..97233e284 100644 --- a/apps/assets/const/host.py +++ b/apps/assets/const/host.py @@ -69,7 +69,10 @@ class HostTypes(BaseType): return { cls.LINUX: [ {'name': 'Linux'}, - {'name': GATEWAY_NAME} + { + 'name': GATEWAY_NAME, + 'domain_enabled': False, + } ], cls.UNIX: [ {'name': 'Unix'},