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
fepitre committed Oct 18, 2018
1 parent 5cbadb5 commit 0d4fc8d
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 0d4fc8d

Please sign in to comment.