From: Will Woods wwoods@redhat.com
If the user specified some NTP servers, write them to the configfiles, regardless of whether the service(s) are actually enabled.
(Maybe you want to configure it now but turn it on later? I dunno, man.)
Resolves: RHBZ#1197575 --- pyanaconda/kickstart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index a8f14be..0b1ed25 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -1661,7 +1661,7 @@ def execute(self, *args): timezone.write_timezone_config(self, iutil.getSysroot())
# write out NTP configuration (if set) - if not self.nontp and self.ntpservers: + if self.ntpservers: chronyd_out_path = os.path.normpath(iutil.getSysroot() + ntp.CHRONY_CONFIG_FILE) ntpd_out_path = os.path.normpath(iutil.getSysroot() + ntp.NTP_CONFIG_FILE) try: