testing: Add support for Debian trixie base images
This commit is contained in:
1 parent
518b8e4286
commit
1767ba2a13
2 files changed
+9
-28
No files matched your search
@@ -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