Fix non-template shell variable so that it is not read by python as a template.

%% is replaced by %, and % is interpreted as a variable substitution.
parent 279b37e7
......@@ -119,8 +119,8 @@ if [ $SLAPOS_GOOD_CONFIGURATION != $SLAPOS_CONFIGURATION ]; then
fi
# Set up cron
let HOUR=$RANDOM%23;
let MINUTE=$RANDOM%60;
let HOUR=$RANDOM%%23;
let MINUTE=$RANDOM%%60;
echo """# BEWARE: This file will be automatically regenerated on each boot
SHELL=/bin/sh
......
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