Split $RHOS logic into a $RHOS and $RHOS_RELEASE. Will allow us to disable use
of epel/rdo, and make rhos-release optional.
This commit is contained in:
parent
d624baab65
commit
b8bbeddbd9
|
@ -35,12 +35,13 @@ network-gateway \
|
|||
"
|
||||
|
||||
export RHOS=${RHOS:-"0"}
|
||||
export RHOS_RELEASE=${RHOS_RELEASE:-"0"}
|
||||
if [[ "rhel7 centos7" =~ "$NODE_DIST" ]]; then
|
||||
if [ "$RHOS" = "1" ]; then
|
||||
export DIB_COMMON_ELEMENTS="$DIB_COMMON_ELEMENTS rhos-release"
|
||||
else
|
||||
if [ "$RHOS" = "0" ]; then
|
||||
export DIB_COMMON_ELEMENTS="$DIB_COMMON_ELEMENTS epel rdo-juno rdo-release"
|
||||
fi
|
||||
elif [ ! "$RHOS_RELEASE" = "0" ]; then
|
||||
export DIB_COMMON_ELEMENTS="$DIB_COMMON_ELEMENTS rhos-release"
|
||||
fi
|
||||
fi
|
||||
|
||||
export DELOREAN=${DELOREAN:-"0"}
|
||||
|
|
Loading…
Reference in New Issue