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

Added missing ntp restart command.

parent ecce7dbb
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,6 @@ def setup(interactive=True): ...@@ -11,5 +11,6 @@ def setup(interactive=True):
dict(line='write', template='%s/ntp.conf' % dir_path, target='/etc/ntp.conf', params=( dict(line='write', template='%s/ntp.conf' % dir_path, target='/etc/ntp.conf', params=(
('{{ NTP_SERVER1 }}', utils.get_conf('NTP_SERVER1') or 'ntp.ubuntu.com'), ('{{ NTP_SERVER1 }}', utils.get_conf('NTP_SERVER1') or 'ntp.ubuntu.com'),
)), )),
'service ntp restart',
] ]
utils.run_commands(cmds) utils.run_commands(cmds)
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