testing: Add support for Debian trixie base images
This commit is contained in:
@@ -76,18 +76,7 @@ do
|
||||
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
|
||||
|
||||
# on bullseye and newer, enabling via bind9 doesn't work, while
|
||||
# disabling does, so use named here. on the other hand, older releases
|
||||
# like buster don't have named service files
|
||||
SERVICES="apache2 slapd"
|
||||
case "$BASEIMGSUITE" in
|
||||
buster)
|
||||
SERVICES="$SERVICES bind9"
|
||||
;;
|
||||
*)
|
||||
SERVICES="$SERVICES named"
|
||||
;;
|
||||
esac
|
||||
SERVICES="apache2 slapd named"
|
||||
for service in $SERVICES
|
||||
do
|
||||
execute_chroot "systemctl enable $service" 0
|
||||
|
||||
Reference in New Issue
Block a user