Commit ee369979 authored by Holger Levsen's avatar Holger Levsen
Browse files

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

parent 6ad77ebf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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