From 29313be0db3cd1498629e9f5ff9a1b64b5fceec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 19 Oct 2018 08:02:12 +0200 Subject: [PATCH] anaconda: skip NTP installation and setup in dom0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dom0 has no direct network access, to this doesn't make sense anyway. Fixes QubesOS/qubes-issues#2110 Signed-off-by: Frédéric Pierret --- pyanaconda/kickstart.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index 1121e0928..5ac54b4fd 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -1715,6 +1715,9 @@ class Timezone(commands.timezone.F25_Timezone): self._disabled_chrony = False def setup(self, ksdata): + ### Skip the whole NTP setup in Qubes dom0 + return + # do not install and use NTP package if self.nontp or NTP_PACKAGE in ksdata.packages.excludedList: if iutil.service_running(NTP_SERVICE) and \ -- 2.14.4