Make the default $JSONFILE for RHEL 7 be the RHOS 6 version. If using RHEL 7 with RDO, you can manually set $JSONFILE

This commit is contained in:
James Slagle 2015-01-05 08:59:44 -05:00
parent 6f10538387
commit 5242c34f69
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ exec 2>&1
echo "Running $0"
if [ "$(grep "Fedora" /etc/redhat-release)" == "" ]; then
export JSONFILE=${JSONFILE:-/usr/share/instack-undercloud/json-files/rhel-7-undercloud-packages.json}
export JSONFILE=${JSONFILE:-/usr/share/instack-undercloud/json-files/rhel-7-rhos-6-undercloud-packages.json}
else
export JSONFILE=${JSONFILE:-/usr/share/instack-undercloud/json-files/fedora-20-undercloud-packages.json}
fi