diff --git a/domains/dom0.conf b/domains/dom0.conf index 72ba990..4bcf60e 100644 --- a/domains/dom0.conf +++ b/domains/dom0.conf @@ -94,7 +94,6 @@ }, } } } } }, - -- primary domain name "Domain 0" should be hidden in config mode - hide_domain = { 'dom0' }, + hide_domain = true, } \ No newline at end of file diff --git a/domains/dom10.conf b/domains/dom10.conf index 5596f8b..5449c2d 100644 --- a/domains/dom10.conf +++ b/domains/dom10.conf @@ -6,6 +6,7 @@ domain_names = { hameln = 'Hameln', alfeld = 'Alfeld', + unconfigured = 'Bitte auswählen', dom10 = 'Domain 10', }, diff --git a/domains/gen.py b/domains/gen.py index 60339f0..4838201 100755 --- a/domains/gen.py +++ b/domains/gen.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# coding: utf8 import argparse import os @@ -10,8 +11,8 @@ h = "Hannover: " domains = { - 0: { "names": { "legacy": "Legacy" } }, - 10: { "names": { "hameln": "Hameln", "alfeld": "Alfeld" }, }, + 0: { "names": { "legacy": "Legacy" }, "hide": True }, + 10: { "names": { "hameln": "Hameln", "alfeld": "Alfeld", "unconfigured": "Bitte auswählen" }, }, 11: { "names": { "lenthe": "Lenthe" } }, 12: { "names": { "steinhude": "Steinhude" } }, 13: { "names": { "springe": "Springe", "obernkirchen": "Obernkirchen" } },