Commit a71768cc authored by David Johnson's avatar David Johnson

Attempt to use the distro neutron lbaas dashboard package.

parent ad44fc0d
......@@ -1736,17 +1736,20 @@ EOF
# Install the neutron lbaas dashboard panel, and update the neutron
# db for lbaas.
if [ $USE_NEUTRON_LBAAS -eq 1 -a $OSVERSION -ge $OSNEWTON ]; then
maybe_install_packages python-neutron-lbaas-dashboard
if [ $? -eq 1 ]; then
git clone
cd neutron-lbaas-dashboard
git checkout stable/${OSRELEASE}
python install
cp -p neutron_lbaas_dashboard/enabled/ \
echo "OPENSTACK_NEUTRON_NETWORK['enable_lb'] = True" \
>> /etc/openstack-dashboard/
/usr/share/openstack-dashboard/ collectstatic --noinput \
&& /usr/share/openstack-dashboard/ compress
service_restart apache2
echo "OPENSTACK_NEUTRON_NETWORK['enable_lb'] = True" \
>> /etc/openstack-dashboard/
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --subproject neutron-lbaas upgrade head" neutron
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment