diff options
author | Michal Skalski <mskalski@mirantis.com> | 2016-02-04 17:03:30 +0100 |
---|---|---|
committer | Michal Skalski <mskalski@mirantis.com> | 2016-02-05 12:03:13 +0000 |
commit | ba1cd01879e6fe123c106c781941b71be33bcc4b (patch) | |
tree | 9212b749c259af0e033c4171d188fd447751a321 /build/f_isoroot/f_repobuild | |
parent | ea8c10f88242834b2c9883f4326f273d73ea7784 (diff) |
Don't download packages which are already on ISO
It is not necessary to create local mirrors with mos-ubuntu packages for
our purpose. These packages are already included on ISO, we only need
these from ubuntu upstream repositories.
Change-Id: I26d88019981b32e7fdb69a0a608a910bbe4d623a
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
(cherry picked from commit f126512730bc9a6f434ac5b9f6395bfc4b5dc960)
Diffstat (limited to 'build/f_isoroot/f_repobuild')
-rw-r--r-- | build/f_isoroot/f_repobuild/Makefile | 4 | ||||
-rw-r--r-- | build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml | 12 |
2 files changed, 1 insertions, 15 deletions
diff --git a/build/f_isoroot/f_repobuild/Makefile b/build/f_isoroot/f_repobuild/Makefile index 105efa3ce..27eb05eeb 100644 --- a/build/f_isoroot/f_repobuild/Makefile +++ b/build/f_isoroot/f_repobuild/Makefile @@ -30,11 +30,9 @@ nailgun: sudo pip install ./fuel-mirror sudo pip install ./fuel-mirror/contrib/fuel_mirror ./opnfv_mirror_conf.py - sudo fuel-mirror --debug --config ./opnfv-config.yaml create --group mos ubuntu --pattern=ubuntu + sudo fuel-mirror --debug --config ./opnfv-config.yaml create --group ubuntu --pattern=ubuntu sudo chmod -R 755 /var/www/nailgun cp -Rp /var/www/nailgun . - mv nailgun/mirrors$(MIRROR_MOS_UBUNTU_ROOT) nailgun/mirrors/mos-repos/ubuntu/$(MOS_VERSION) - rmdir nailgun/mirrors/mos-repos/ubuntu/snapshots if [ "$(UBUNTU_DIR)" != "/" ]; then \ mv nailgun/mirrors$(UBUNTU_DIR)/ubuntu nailgun/mirrors/ubuntu;\ rm -rf nailgun/mirrors/$(TMP_ROOT_DIR);\ diff --git a/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml b/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml index 28f6427f7..aa12c4558 100644 --- a/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml +++ b/build/f_isoroot/f_repobuild/fuel_bootstrap_cli.yaml @@ -58,18 +58,6 @@ priority: 1050 suite: mos8.0 type: deb - - name: mos-updates - section: "main restricted" - uri: "http://127.0.0.1:8080/mirrors/mos-repos/ubuntu/8.0" - priority: 1050 - suite: mos8.0-updates - type: deb - - name: mos-security - section: "main restricted" - uri: "http://127.0.0.1:8080/mirrors/mos-repos/ubuntu/8.0" - priority: 1050 - suite: mos8.0-security - type: deb skip_default_img_build: true direct_repo_addresses: - "127.0.0.1" |