Skip to content

Commit

Permalink
anaconda: skip NTP installation and setup in dom0
Browse files Browse the repository at this point in the history
Dom0 has no direct network access, to this doesn't make sense anyway.

Fixes QubesOS/qubes-issues#2110
  • Loading branch information
marmarek authored and fepitre committed Oct 20, 2018
1 parent dfa0095 commit 29313be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyanaconda/kickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1715,6 +1715,9 @@ def __init__(self, *args):
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 \
Expand Down

0 comments on commit 29313be

Please sign in to comment.