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 Sep 20, 2017
1 parent a78cb97 commit f9d6e10
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 @@ -1744,6 +1744,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 f9d6e10

Please sign in to comment.