The Debian #778564 bug report is still open, the ntp.conf file doesn't
contain the setting from NtpServer after installation, so we still
need to edit ntp.conf on Bookworm.

Signed-off-by: Anthony PERARD <anthony.per...@citrix.com>
---
 ts-host-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ts-host-install b/ts-host-install
index 61433e64..00277485 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -161,7 +161,7 @@ END
            my $done= 0;
            while (<EI>) {
                if (m/^server\b|^pool\b\s/) {
-                   if ($ho->{Suite} =~ 
m/lenny|squeeze|wheezy|jessie|stretch|buster/) {
+                   if ($ho->{Suite} =~ 
m/lenny|squeeze|wheezy|jessie|stretch|buster|bookworm/) {
                        $_= $done ? "" : "server $ntpserver\n";
                    } else {
                        m/^server \Q$ntpserver\E\s/ or
-- 
Anthony PERARD


Reply via email to