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
pull/5/head mm_703a6edc
Marek Marczykowski-Górecki 8 years ago
parent 2b27cc5eba
commit 703a6edc98
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -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"):

Loading…
Cancel
Save