Only defines OTCI_DEBIAN_REPO_URL if it's not in /etc/default/openstack-tempest-ci

This commit is contained in:
Thomas Goirand 2016-03-11 17:39:55 +01:00
parent f701165580
commit 2b09ae215e
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ fi
if [ -n "${1}" ] ; then
OTCI_DEBIAN_REPO_URL=${1}
else
OTCI_DEBIAN_REPO_URL=http://http.debian.net/debian
if [ -z "${OTCI_DEBIAN_REPO_URL}" ] ; then
OTCI_DEBIAN_REPO_URL=http://http.debian.net/debian
fi
fi
if [ "${OTCI_VIRT_MODE}" = "xen" ] || [ "${OTCI_VIRT_MODE}" = "ipmi" ] ; then