Pre-install apache2

Apache2 is a dependency of openstack-dashboard which gets installed in
the install() function. However, prior to that we register configs
which does a check of the apache2 package version leading to a chicken
and egg race.

Pre-install apache2 in the bash install script to avoid this race.

Closes-Bug: #1799500

Change-Id: I1f73a6b0284ca4e0a4018bff73fd4f8a778c4db5
This commit is contained in:
David Ames 2018-10-19 09:06:01 -07:00
parent 105375c6ff
commit 0d1dec7e0b
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Wrapper to deal with newer Ubuntu versions that don't have py2 installed
# by default.
declare -a DEPS=('apt' 'netaddr' 'netifaces' 'pip' 'yaml' 'dnspython')
declare -a DEPS=('apt' 'netaddr' 'netifaces' 'pip' 'yaml' 'dnspython', 'apache2')
check_and_install() {
pkg="${1}-${2}"