emergency fix to not install openvswitch if user is not using quantum

This commit is contained in:
Anthony Young 2011-11-02 23:57:12 -05:00
parent 51255798b5
commit bdc254eb38
2 changed files with 4 additions and 2 deletions

View file

@ -1,2 +0,0 @@
openvswitch-switch
openvswitch-datapath-dkms

View file

@ -787,6 +787,10 @@ fi
# Quantum # Quantum
if [[ "$ENABLED_SERVICES" =~ "q-svc" ]]; then if [[ "$ENABLED_SERVICES" =~ "q-svc" ]]; then
# Install deps
# FIXME add to file/apts/quantum, but don't install if not needed!
apt_get install -y openvswitch-switch openvswitch-datapath-dkms
# Create database for the plugin/agent # Create database for the plugin/agent
if [[ "$Q_PLUGIN" = "openvswitch" ]]; then if [[ "$Q_PLUGIN" = "openvswitch" ]]; then
if [[ "$ENABLED_SERVICES" =~ "mysql" ]]; then if [[ "$ENABLED_SERVICES" =~ "mysql" ]]; then