This commit is contained in:
j 2015-03-15 01:04:54 +05:30
parent 8afe1257ac
commit 1e85b9d480

View file

@ -117,7 +117,7 @@ MANAGE="sudo -H -u pandora python manage.py"
cd /srv/pandora/pandora
$MANAGE init_db
echo "UPDATE django_site SET domain = '$HOST.local', name = '$HOST.local' WHERE 1=1;" | $MANAGE dbshell
#echo "UPDATE django_site SET domain = '$HOST.local', name = '$HOST.local' WHERE 1=1;" | $MANAGE dbshell
mkdir /srv/pandora/data
chown -R pandora:pandora /srv/pandora
@ -189,8 +189,9 @@ rm -f /etc/udev/rules.d/70-persistent-net.rules
#update issue
/usr/local/bin/genissue > /etc/issue
EOF
chmod +x /etc/rc.local
fi
apt-get clean
cat > /home/pandora/.vimrc <<EOF