blob: e040cc3230fa4eaa2653b1cd1e1cef3e52e6ee8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#
# NTP config using specific pools
#
cloud_config: |
#cloud-config
ntp:
pools:
- 0.cloud-init.mypool
- 1.cloud-init.mypool
- 172.16.15.14
collect_scripts:
ntp_installed_pools: |
#!/bin/bash
dpkg -l | grep ntp | wc -l
ntp_conf_dist_pools: |
#!/bin/bash
ls /etc/ntp.conf.dist | wc -l
ntp_conf_pools: |
#!/bin/bash
grep '^pool' /etc/ntp.conf
ntpq_servers: |
#!/bin/sh
ntpq -p -w
# vi: ts=4 expandtab
|