Skip to content
Snippets Groups Projects
Commit 0d1dec7e authored by David Ames's avatar David Ames
Browse files

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
parent 105375c6
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment