Commit ee369979 authored by Holger Levsen's avatar Holger Levsen

reproducible: fix logic bug, preventing osuosl hosts to run correctly in the future

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 6ad77ebf
......@@ -212,8 +212,8 @@ for i in "${HOSTS[@]}" ; do
if node_in_the_future "$i" ; then
# set correct future date
case "$i" in
osuosl-build*) NTP_SERVER=de.pool.ntp.org ;;
*) NTP_SERVER=time.osuosl.org ;;
osuosl*) NTP_SERVER=time.osuosl.org ;;
*) NTP_SERVER=de.pool.ntp.org ;;
esac
remote_command="sudo ntpdate -b $NTP_SERVER && $remote_command && sudo date --set=\"+398 days +6 hours + 23 minutes\" && echo '__$(echo $i|cut -d '.' -f1)=ok__'"
fi
......
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