include cache-devstack only if not gentoo

Change-Id: I797ed59acaa345ad688e0299632a539a72e70cf6
This commit is contained in:
Matthew Thode 2018-04-15 18:21:08 -05:00
parent d27f41461b
commit 859aa3b876
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8

View File

@ -57,6 +57,10 @@ if [[ ${DISTRO} == "centos-minimal" ]]; then
export DIB_EPEL_DISABLED=1 export DIB_EPEL_DISABLED=1
fi fi
# cache-devstack does not work on gentoo, so exclude it from the element list
if [[ "${DISTRO}" != "gentoo" ]]; then
EXTRA_ELEMENTS+="cache-devstack "
fi
## If your firewall won't allow outbound DNS connections, you'll want ## If your firewall won't allow outbound DNS connections, you'll want
## to set these to local resolvers ## to set these to local resolvers
@ -120,7 +124,6 @@ disk-image-create -x --no-tmpfs -o $IMAGE_NAME \
simple-init \ simple-init \
openstack-repos \ openstack-repos \
nodepool-base \ nodepool-base \
cache-devstack \
growroot \ growroot \
infra-package-needs \ infra-package-needs \
$EXTRA_ELEMENTS $EXTRA_ELEMENTS