add delorean element for building overcloud images

This commit is contained in:
James Slagle
2014-09-10 13:41:03 -04:00
parent d5e2fdffdf
commit e533311950
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -eux
set -o pipefail
DELOREAN_REPO=${DELOREAN_REPO:-""}
if [ -z "$DELOREAN_REPO" ]; then
echo \$DELOREAN_REPO must be set
exit 1
fi
sudo curl -o $TMP_MOUNT_PATH/etc/yum.repos.d/delorean.repo $DELOREAN_REPO

View File

@@ -178,5 +178,5 @@ use-ephemeral \
if [ "$DELOREAN" = "1" ]; then
export DIB_COMMON_ELEMENTS=${DIB_COMMON_ELEMENTS:-""}
export DIB_COMMON_ELEMENTS="$DIB_COMMON_ELEMENTS undercloud-package-install"
export DIB_COMMON_ELEMENTS="$DIB_COMMON_ELEMENTS delorean undercloud-package-install"
fi