Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow $RHOS to be overridden
This is needed to enable building images without RDO and epel.

Change-Id: I73d304d64b78376409756cef22dcc12c6d6042fb
  • Loading branch information
slagle committed May 22, 2015
1 parent de2fd78 commit e77c218
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/instack-build-images
Expand Up @@ -60,8 +60,8 @@ fi
if [ "$NODE_DIST" = "rhel7" ]; then
export REG_METHOD=${REG_METHOD:-disable}

# We need to set RHOS=0 so that epel/rdo get enabled.
export RHOS=0
# EPEL/rdo get enabled when RHOS=0
export RHOS=${RHOS:-"0"}
# But we still actually need it to enable base RHEL repos.
export RUN_RHOS_RELEASE=${RUN_RHOS_RELEASE:-"0"}
if [ "${RUN_RHOS_RELEASE}" = "1" ]; then
Expand Down Expand Up @@ -95,7 +95,6 @@ element-manifest \
network-gateway \
"

export RHOS=${RHOS:-"0"}
export RHOS_RELEASE=${RHOS_RELEASE:-"0"}
if [[ "rhel7 centos7" =~ "$NODE_DIST" ]]; then
# Default filesystem type is XFS for RHEL 7
Expand Down

0 comments on commit e77c218

Please sign in to comment.