aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-guestimages
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-02-14 13:32:04 +0100
committerTobias Brunner <tobias@strongswan.org>2013-02-19 12:25:01 +0100
commit37c589f0e0969bcc916d9161f9728ae3a0310cad (patch)
treee2331a2e471dbbf8810e427054ac7aa1149ddc7c /testing/scripts/build-guestimages
parent3fbc328d144ecb2c2586faf600626ab91d17a860 (diff)
downloadstrongswan-37c589f0e0969bcc916d9161f9728ae3a0310cad.tar.bz2
strongswan-37c589f0e0969bcc916d9161f9728ae3a0310cad.tar.xz
Configure winnetou as a DNSSEC enabled nameserver for the strongswan.org, org, and root zones
Diffstat (limited to 'testing/scripts/build-guestimages')
-rwxr-xr-xtesting/scripts/build-guestimages4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages
index f5669040e..3e0709db9 100755
--- a/testing/scripts/build-guestimages
+++ b/testing/scripts/build-guestimages
@@ -57,6 +57,10 @@ do
execute_chroot "rm -rf /var/lib/ldap/*" 0
execute_chroot "slapadd -l /etc/ldap/ldif.txt -f /etc/ldap/slapd.conf" 0
execute_chroot "chown -R openldap:openldap /var/lib/ldap" 0
+ execute_chroot "dnssec-signzone -K /etc/bind -o strongswan.org. /etc/bind/db.strongswan.org" 0
+ execute_chroot "dnssec-signzone -K /etc/bind -o org. /etc/bind/db.org" 0
+ execute_chroot "dnssec-signzone -K /etc/bind -o . /etc/bind/db.root" 0
+ execute_chroot "update-rc.d bind9 defaults" 0
fi
sync
execute "umount $LOOPDIR" 0