anaconda: skip NTP installation and setup in dom0

Dom0 has no direct network access, to this doesn't make sense anyway.

Fixes QubesOS/qubes-issues#2110
This commit is contained in:
Marek Marczykowski-Górecki 2016-07-12 23:22:24 +02:00
parent 2b27cc5eba
commit 703a6edc98
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1675,6 +1675,9 @@ class Timezone(commands.timezone.F23_Timezone):
self._disabled_chrony = False
def setup(self, ksdata):
### Skip the whole NTP setup in Qubes dom0
return
if self.nontp:
if iutil.service_running(NTP_SERVICE) and \
can_touch_runtime_system("stop NTP service"):