From 95edbc382d8167b59a79a570aff664ba806de809 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 23 Nov 2010 17:38:31 +1100 Subject: wintest Evolve wintest to handle it's own BIND nameserver The changes here start our own copy of BIND, listening on a new interface that we create at the start of the script. The user must specify the IP address etc that this interface will have, and BIND and Samba will bind to that interface only. This means that we won't conflict with an existing BIND on the system, so long as it isn't configured to listen on all interfaces. We also auto-create the /etc/resolv.conf and restore it at the end of the script, using the existing server value from the script as a forwarder. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104 --- wintest/conf/abartlet.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'wintest/conf') diff --git a/wintest/conf/abartlet.conf b/wintest/conf/abartlet.conf index a521f75e3c..ea8a5cfa67 100644 --- a/wintest/conf/abartlet.conf +++ b/wintest/conf/abartlet.conf @@ -13,14 +13,15 @@ DEBUGLEVEL : 1 VM_POWEROFF : virsh destroy ${VMNAME} VM_RESTORE : virsh snapshot-revert ${VMNAME} ${SNAPSHOT} -# interfaces to listen on -INTERFACES : virbr0 - -DNSSERVER : 192.168.1.172 +# interfaces to create +INTERFACE : virbr0:0 +INTERFACE_IP : 192.168.122.2 +INTERFACE_NET : 192.168.122.0/24 # how to run bind9 -BIND9 : /usr/sbin/named -u named +BIND9 : /usr/sbin/named RNDC : /usr/sbin/rndc +BIND_USER : named # provision information REALM : S4.HOWTO.ABARTLET.NET -- cgit