Azure: Allow chronyd to sync time

Though time namespace support was added in Linux kernel 5.6, it
is not landed on Azure VM (Ubuntu) yet.

The syncing time stuff is required by IPA NTP tests. it's
acceptable for testing 1 IPA environment on 1 Azure VM for such
tests.

Fixes: https://pagure.io/freeipa/issue/8316
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Stanislav Levin authored and Christian Heimes committed 2020-05-12 09:51:50 +02:00
1 parent 958e245813
commit 8882fc49d0
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ class Container:
"""
Set services known to not work in containers to be ignored
"""
for service in ('chronyd', 'nis-domainname'):
for service in ['nis-domainname',]:
self.ignore_service_in_container(service)
self.execute_all(args=["systemctl", "daemon-reload"])