Skip to content
Snippets Groups Projects
Commit 79850ef7 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Removed NTP_SERVER1 from ntp setup.

parent b4f5ad73
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ def setup(interactive=True):
'DEBIAN_FRONTEND=noninteractive apt-get install -y ntp',
'echo "Replacing /etc/ntp.conf"',
dict(line='write', template='%s/ntp.conf' % dir_path, target='/etc/ntp.conf', params=(
('{{ NTP_SERVER }}', utils.get_conf('NTP_SERVER') or utils.get_conf('NTP_SERVER1') or 'ntp.ubuntu.com'),
('{{ NTP_SERVER }}', utils.get_conf('NTP_SERVER') or 'ntp.ubuntu.com'),
)),
'service ntp restart',
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment