
Do project specific installations by calling project specific scripts located in scripts/project_specific/<project_name> directory. The scripts are executed in alphabetical order. Also move keystone oidc and nova console into own files Change-Id: I1f381e85f095eee2bede3f4925f51c9103d83467
23 lines
566 B
Bash
Executable File
23 lines
566 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
for file in /opt/loci/bindep*; do
|
|
PACKAGES+=($(bindep -f $file -b -l newline ${PROJECT} ${PROFILES} ${distro_version} || :))
|
|
done
|
|
|
|
if [[ ! -z ${PACKAGES} ]]; then
|
|
case ${distro} in
|
|
ubuntu)
|
|
apt-get install -y --no-install-recommends ${PACKAGES[@]} ${DIST_PACKAGES}
|
|
;;
|
|
centos)
|
|
yum -y --setopt=skip_missing_names_on_install=False install ${PACKAGES[@]} ${DIST_PACKAGES}
|
|
;;
|
|
*)
|
|
echo "Unknown distro: ${distro}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
fi
|