Fix neutron package install

Previously the neutron element was installing neutron-server. This
should actually be happening in the neutron-server element itself.
Likewise, the neutron-dhcp-agent should also install the package it
needs. In both cases, the package is just openstack-neutron, but only
the intended services will be enabled and started due to the
os-refresh-config scripts. E.g., if you only include neutron-dhcp-agent,
and not neuton-server, only the neutron-dhcp-agent will be enabled.

Change-Id: I11e52e9cdd6062b03d389971acad1c52a9cc3ea8
This commit is contained in:
James Slagle 2014-02-05 16:37:29 -05:00
parent f154a548c0
commit 2cbaea7994
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -eux
install-packages openstack-neutron
os-svc-daemon -n neutron-dhcp-agent -u neutron -c noop -d