summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/ntp_timesyncd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/modules/ntp_timesyncd.yaml')
-rw-r--r--tests/cloud_tests/testcases/modules/ntp_timesyncd.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/modules/ntp_timesyncd.yaml b/tests/cloud_tests/testcases/modules/ntp_timesyncd.yaml
new file mode 100644
index 00000000..ee47a741
--- /dev/null
+++ b/tests/cloud_tests/testcases/modules/ntp_timesyncd.yaml
@@ -0,0 +1,15 @@
+#
+# ntp enabled, systemd-timesyncd selected, check conf file
+# as systemd-timesyncd won't start in a container
+#
+cloud_config: |
+ #cloud-config
+ ntp:
+ enabled: true
+ ntp_client: systemd-timesyncd
+collect_scripts:
+ timesyncd_conf: |
+ #!/bin/sh
+ cat /etc/systemd/timesyncd.conf.d/cloud-init.conf
+
+# vi: ts=4 expandtab