update vm build defaults
This commit is contained in:
parent
21b2667f2a
commit
913ad7dd0c
2 changed files with 8 additions and 4 deletions
|
@ -6,7 +6,7 @@ sudo vmbuilder vbox ubuntu --suite=oneiric \
|
|||
--dest $base/pandora \
|
||||
--hostname pandora \
|
||||
--swapsize 512 \
|
||||
--rootsize 65536 \
|
||||
--rootsize 1048576 \
|
||||
--user pandora \
|
||||
--pass pandora \
|
||||
--components main,universe,multiverse \
|
||||
|
|
|
@ -31,7 +31,10 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
|
||||
DATA_SERVICE='http://data.0xdb.org/api/'
|
||||
DEBUG = False
|
||||
|
||||
DATA_SERVICE = ""
|
||||
SITE_CONFIG = '/srv/pandora/pandora/pandora.jsonc'
|
||||
|
||||
BROKER_PASSWORD = "$RABBITPWD"
|
||||
|
||||
|
@ -39,8 +42,9 @@ XACCELREDIRECT = True
|
|||
EOF
|
||||
|
||||
cd /srv/pandora/pandora
|
||||
sudo -u pandora python manage.py syncdb --noinput
|
||||
echo "UPDATE django_site SET domain = 'pandora.local', name = 'pandora.local' WHERE 1=1;" | sudo -u pandora python manage.py dbshell
|
||||
sudo -u pandora python manage.py syncdb --noinput
|
||||
HOST=$(hostname -s)
|
||||
echo "UPDATE django_site SET domain = '$HOST.local', name = '$HOST.local' WHERE 1=1;" | sudo -u pandora python manage.py dbshell
|
||||
|
||||
|
||||
mkdir /srv/pandora/data
|
||||
|
|
Loading…
Reference in a new issue