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:
parent
2b27cc5eba
commit
703a6edc98
@ -1675,6 +1675,9 @@ class Timezone(commands.timezone.F23_Timezone):
|
|||||||
self._disabled_chrony = False
|
self._disabled_chrony = False
|
||||||
|
|
||||||
def setup(self, ksdata):
|
def setup(self, ksdata):
|
||||||
|
### Skip the whole NTP setup in Qubes dom0
|
||||||
|
return
|
||||||
|
|
||||||
if self.nontp:
|
if self.nontp:
|
||||||
if iutil.service_running(NTP_SERVICE) and \
|
if iutil.service_running(NTP_SERVICE) and \
|
||||||
can_touch_runtime_system("stop NTP service"):
|
can_touch_runtime_system("stop NTP service"):
|
||||||
|
Loading…
Reference in New Issue
Block a user