start/restart ntp service after setting it up.

parent c2bca724
...@@ -401,6 +401,8 @@ def configureNtp(): ...@@ -401,6 +401,8 @@ def configureNtp():
_call(['chkconfig', '--add', 'ntp']) _call(['chkconfig', '--add', 'ntp'])
_call(['chkconfig', 'ntp', 'on']) _call(['chkconfig', 'ntp', 'on'])
_call(['systemctl', 'enable', 'ntp.service']) _call(['systemctl', 'enable', 'ntp.service'])
_call(['systemctl', 'restart', 'ntp.service'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment