Merge "Wrap ntpdate to timeout"

This commit is contained in:
Jenkins 2016-01-28 13:05:45 +00:00 committed by Gerrit Code Review
commit 2e2ce2f328
1 changed files with 1 additions and 1 deletions

View File

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