summaryrefslogtreecommitdiffstats
path: root/deploy_jdn
diff options
context:
space:
mode:
Diffstat (limited to 'deploy_jdn')
-rwxr-xr-xdeploy_jdn6
1 files changed, 5 insertions, 1 deletions
diff --git a/deploy_jdn b/deploy_jdn
index dcd6833c..f12bbaf6 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -169,7 +169,11 @@ for i in $HOSTS ; do
if $reset_clock ; then
case $i in
profitbricks-build4-amd64*|profitbricks-build5-amd64*|profitbricks-build6-i386*|profitbricks-build15-amd64*|profitbricks-build16-i386*)
- # set correct date
+ # set correct future date
+ command="sudo ntpdate -b de.pool.ntp.org && $real_command && sudo date --set=\"+398 days +6 hours + 23 minutes\" && echo '__$(echo $i|cut -d '.' -f1)=ok__'"
+ ;;
+ codethink9*|codethink11*|codethink13*|codethink15*)
+ # set correct future date
command="sudo ntpdate -b de.pool.ntp.org && $real_command && sudo date --set=\"+398 days +6 hours + 23 minutes\" && echo '__$(echo $i|cut -d '.' -f1)=ok__'"
;;
*)