]> xenbits.xensource.com Git - osstest.git/commitdiff
ts-host-install: fix ntp server setting
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 8 Jun 2023 15:16:20 +0000 (16:16 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Thu, 28 Mar 2024 16:51:52 +0000 (16:51 +0000)
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.perard@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
ts-host-install

index 61433e646e43e71e47909c0e0779a4bd869f01bb..002774855fcd5003d4962023eb69347d8f7140e8 100755 (executable)
@@ -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