Add verbosity to sync_time task

Give task which sync time some verbosity and move output to syslog.

Change-Id: I7bd365ecccfdd76c09ed61dfcd93ec5de2f3c0ae
Related-Bug: #1533082
This commit is contained in:
Stanislaw Bogatkin 2016-01-19 20:53:29 +03:00
parent 07abee63a7
commit 78b94ef6af

View File

@ -226,7 +226,7 @@
requires: [pre_deployment_start]
required_for: [pre_deployment_end]
parameters:
cmd: ntpdate -u $(awk '/^server/ { if ($2 !~ /127\.127\.[0-9]+\.[0-9]+/) {ORS=" "; print $2}}' /etc/ntp.conf)
cmd: ntpdate -u -v -s $(awk '/^server/ { if ($2 !~ /127\.127\.[0-9]+\.[0-9]+/) {ORS=" "; print $2}}' /etc/ntp.conf)
retries: 10
interval: 30
timeout: 180