blob: 2530d72e9a002057e530624ca28f5eb1c76591da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#
# Emtpy NTP config to setup using defaults
#
cloud_config: |
#cloud-config
ntp:
pools: []
servers: []
collect_scripts:
ntp_installed: |
#!/bin/bash
ntpd --version > /dev/null 2>&1
echo $?
ntp_conf_dist_empty: |
#!/bin/bash
ls /etc/ntp.conf.dist | wc -l
ntp_conf_pool_list: |
#!/bin/bash
grep 'pool.ntp.org' /etc/ntp.conf | grep -v ^#
# vi: ts=4 expandtab
|