Skip to content

Commit

Permalink
wintest: set nameserver on a more general place
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Blin <[email protected]>
Björn Baumbach authored and kblin committed Jun 21, 2012
1 parent 226dbc1 commit 09bee25
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions wintest/test-s4-howto.py
Original file line number Diff line number Diff line change
@@ -581,6 +581,8 @@ def test_howto(t):
start_s4(t)
if not t.skip("smbclient"):
test_smbclient(t)

t.set_nameserver(t.getvar('INTERFACE_IP'))
if not t.skip("configure_bind2"):
t.configure_bind(kerberos_support=True, include='${PREFIX}/private/named.conf')
if not t.skip("start_bind"):
2 changes: 0 additions & 2 deletions wintest/wintest.py
Original file line number Diff line number Diff line change
@@ -437,8 +437,6 @@ def start_bind(self):
self.info("Restarting bind9")
self.chdir('${PREFIX}')

self.set_nameserver(self.getvar('INTERFACE_IP'))

self.run_cmd("mkdir -p var/named/data")
self.run_cmd("chown -R ${BIND_USER} var/named")

0 comments on commit 09bee25

Please sign in to comment.