Merge branch 'master' of github.com:cloudbuilders/nfs-stack

This commit is contained in:
Anthony Young 2011-09-12 21:10:49 -07:00
commit 0db9fa3cd6
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,8 @@
dnsmasq-base
kpartx
mysql-server
mysql-common # install mysql-common/client explicitly since mysql-server isn't bootstrapped
mysql-client-5.1
python-mysqldb
kvm
gawk

View file

@ -102,8 +102,9 @@ mkdir -p $NOVA_DIR/instances
# if there is a partition labeled nova-instances use it (ext filesystems
# can be labeled via e2label)
# FIXME: if already mounted this blows up...
if [ -L /dev/disk/by-label/nova-instances ]; then
mount -L nova-instances /$NOVA_DIR/instances
mount -L nova-instances $NOVA_DIR/instances
fi
# *Dashboard*: setup django application to serve via apache/wsgi
@ -111,7 +112,7 @@ fi
# Dash currently imports quantum even if you aren't using it. Instead
# of installing quantum we can create a simple module that will pass the
# initial imports
mkdir $DASH_DIR/openstack-dashboard/quantum
mkdir $DASH_DIR/openstack-dashboard/quantum || true
touch $DASH_DIR/openstack-dashboard/quantum/__init__.py
touch $DASH_DIR/openstack-dashboard/quantum/client.py
@ -174,7 +175,7 @@ rm -rf $NOVA_DIR/networks
mkdir -p $NOVA_DIR/networks
# (re)create nova database
mysql -p$MYSQL_PASS -e 'DROP DATABASE nova;'
mysql -p$MYSQL_PASS -e 'DROP DATABASE nova;' || true
mysql -p$MYSQL_PASS -e 'CREATE DATABASE nova;'
$NOVA_DIR/bin/nova-manage db sync