Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > cc1b449b2083fc5d27d3a319b9379475 > scriptlet

cobbler-web-2.4.0-1.fc18.noarch.rpm

POSTIN

/bin/sh
# Change the SECRET_KEY option in the Django settings.py file
# required for security reasons, should be unique on all systems
RAND_SECRET=$(openssl rand -base64 40 | sed 's/\//\\\//g')
sed -i -e "s/SECRET_KEY = ''/SECRET_KEY = \'$RAND_SECRET\'/" /usr/share/cobbler/web/settings.py