From 06809f4ba9b41e51d444806304a40b719f8c768a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 10 Sep 2012 09:44:07 +0200 Subject: s4:provision: ask the admin about the desired DNS implementation In interactive mode we should let the admin confirm which implementation he wants. metze Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Mon Sep 10 11:45:08 CEST 2012 on sn-devel-104 --- source4/setup/provision | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4') diff --git a/source4/setup/provision b/source4/setup/provision index 2df718e4ec..6cb4674b21 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -167,6 +167,12 @@ if opts.interactive: sys.exit(1) opts.server_role = ask("Server Role (dc, member, standalone)", "dc") + + opts.dns_backend = ask("DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)", "BIND9_DLZ") + if opts.dns_backend in (None, ''): + print >> sys.stderr, "No DNS backend set!" + sys.exit(1) + while True: adminpass = getpass("Administrator password: ") if not adminpass: -- cgit