forked from 0x2620/pandora
fi
This commit is contained in:
parent
8afe1257ac
commit
1e85b9d480
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue