Commit 198bd1c9 by Cédric de Saint Martin

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.
1 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
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!