From: Anthony PERARD Date: Thu, 8 Jun 2023 15:16:20 +0000 (+0100) Subject: ts-host-install: fix ntp server setting X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9c4e34a22f0a480c59a128d48166e98099d46293;p=osstest.git ts-host-install: fix ntp server setting 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 Acked-by: Roger Pau Monné --- diff --git a/ts-host-install b/ts-host-install index 61433e6..0027748 100755 --- a/ts-host-install +++ b/ts-host-install @@ -161,7 +161,7 @@ END my $done= 0; while () { 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