Comment 0 for bug 1499420

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

Fuel 7.0 has

ntpdate -u $(egrep '^server' /etc/ntp.conf | egrep -v '127\.127\.[0-9]+\.[0-9]+' | sed '/^#/d' | awk '{print $2}' | head -1)

in tasks.yaml. It may be replaced with less pipes as

ntpdate -u $(egrep '^server' /etc/ntp.conf | awk '/[127\.127\.0-9+\.0-9+]/ {print $2}' | head -1)