From d93c739d3896523439422c0eaa4c1d0451d07a75 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 24 Mar 2020 21:51:25 +0100 Subject: [PATCH] Fix Sigmah mounts --- lxc-apps/cts/install.sh | 2 +- lxc-apps/mifosx/image | 2 +- lxc-apps/sigmah/app | 5 +++-- lxc-apps/sigmah/install/sigmah_conf/sigmah.properties | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lxc-apps/cts/install.sh b/lxc-apps/cts/install.sh index 3778d57..8525a91 100755 --- a/lxc-apps/cts/install.sh +++ b/lxc-apps/cts/install.sh @@ -34,7 +34,7 @@ spoc-container exec cts -- manage.py migrate export CTS_ADMIN_EMAIL=admin@example.com export CTS_ADMIN_PWD=$(head -c 12 /dev/urandom | base64 | tr -d '+/=') export CTS_ADMIN_HASH=$(spoc-container exec cts -- python -c "from django.contrib.auth.hashers import make_password; print make_password('${CTS_ADMIN_PWD}')") -export CTS_ADMIN_SECRET=$(head -c 12 /dev/urandom | sha256sum | cut -c1-13) +export CTS_ADMIN_SECRET=$(head -c 12 /dev/urandom | sha256sum | cut -c0-12) envsubst