From f022e1e2c027d46e3285bcd7a4405de2d70d1e35 Mon Sep 17 00:00:00 2001 From: toby Date: Mon, 26 Nov 2018 19:55:11 +0100 Subject: [PATCH] always update NTP server in timesyncd, not just when commented out --- debian/wit-network-config.transform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/wit-network-config.transform b/debian/wit-network-config.transform index 6eb6558..a312d4a 100644 --- a/debian/wit-network-config.transform +++ b/debian/wit-network-config.transform @@ -1,3 +1,3 @@ -/etc/systemd/timesyncd.conf.wit sed -e 's/#NTP=.*/NTP=bastion.usw2.admin.wit.com/g' +/etc/systemd/timesyncd.conf.wit sed -e 's/#NTP=.*\|NTP=.*/NTP=bastion.usw2.admin.wit.com/g' /etc/frr/daemons.wit sed -e 's/bgpd=no/bgpd=yes/' -e 's/zebra=no/zebra=yes/' -e 's/bfdd=no/bfdd=yes/' /etc/bash.bashrc.wit sed -e 's/.*witaddon/source \/etc\/bashrc-witaddon/; t; $ s/$/\nsource \/etc\/bashrc-witaddon/'