aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-06-15 12:31:22 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-15 12:31:22 +0000
commitf9e8c1a361d3673df9fcde83e46d265ed49fa499 (patch)
treef6ac47f7ba1e9c133025ffd6445a573fdedd9bb1 /build/f_isoroot
parentba99c6e97a4dc9db8165edc7d95a254892f59830 (diff)
parent16df5c6d9b6973cff2ab3949add2a90adc65f25a (diff)
Merge "repobuild: Allow customizing fuel-mirror repo URL"
Diffstat (limited to 'build/f_isoroot')
-rw-r--r--build/f_isoroot/f_repobuild/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile
index 52772180e..4bb04ca07 100644
--- a/build/f_isoroot/f_repobuild/Makefile
+++ b/build/f_isoroot/f_repobuild/Makefile
@@ -12,6 +12,7 @@ SHELL := /bin/bash
TOP := $(shell pwd)
TMP_ROOT_DIR := $(shell echo "$(MIRROR_UBUNTU_ROOT)" | cut -d "/" -f2)
# Enable use of exact repo commit if defined, else use Fuel main branch
+FUEL_MIRROR_REPO?=https://github.com/openstack/fuel-mirror
FUEL_MIRROR_COMMIT?=$(FUEL_MAIN_TAG)
include ../../config.mk
@@ -26,7 +27,7 @@ nailgun:
sudo apt-get install -y git libxml2-dev libxslt-dev python-dev python-pip libz-dev libyaml-dev createrepo python-yaml
rm -Rf nailgun
sudo mkdir -p /var/www/nailgun
- git clone https://github.com/openstack/fuel-mirror
+ git clone $(FUEL_MIRROR_REPO)
cd fuel-mirror && git checkout -q $(FUEL_MIRROR_COMMIT)
sudo pip install -U -r ./fuel-mirror/requirements.txt
sudo pip install ./fuel-mirror