add delorean element for building overcloud images
This commit is contained in:
14
elements/delorean/extra-data.d/10-delorean-repo
Executable file
14
elements/delorean/extra-data.d/10-delorean-repo
Executable 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user