diff options
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-x | source4/setup/provision | 6 |
1 files changed, 6 insertions, 0 deletions
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: |