Merge pull request #154 from cloudbuilders/openvswitch_fix

emergency fix to avoid installation of openvswitch if user is not using quantum
This commit is contained in:
sleepsonthefloor 2011-11-02 22:13:51 -07:00
commit 978207e642
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
if [[ "$ENABLED_SERVICES" =~ "q-svc" ]]; then
# Install deps
# FIXME add to files/apts/quantum, but don't install if not needed!
apt_get install openvswitch-switch openvswitch-datapath-dkms
# Create database for the plugin/agent
if [[ "$Q_PLUGIN" = "openvswitch" ]]; then
if [[ "$ENABLED_SERVICES" =~ "mysql" ]]; then