summaryrefslogtreecommitdiffstats
path: root/build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-04-09 14:10:21 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-04-09 14:33:33 +0200
commitd116928396655b6db92b6786022ff68f13df58c7 (patch)
tree163cb62910b132929abfe604f350395c2a59ec65 /build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch
parent64af432a852c0c0f6b5afc11ddde7609932704db (diff)
fuel-menu: Align defaults w/ OPNFV bootstrap cfg
Instead of overwriting fuel_bootstrap_cli.yaml during post-install, with a static config which we need to manually sync in OPNFV after each upstream change, make the whole thing dynamic by syncing (via patch) fuel-menu's default settings with OPNFV bootstrap. This allows us to drop the static fuel_bootstrap_cli.yaml. JIRA: FUEL-266 Change-Id: I132f2a272c764ad0fc84b3e0e0e1222b1fab1cd2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch')
-rw-r--r--build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch b/build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch
new file mode 100644
index 000000000..456eea7b9
--- /dev/null
+++ b/build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch
@@ -0,0 +1,66 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Sun, 9 Apr 2017 13:49:28 +0200
+Subject: [PATCH] settings: OPNFV bootstrap: Default to local mirror
+
+JIRA: https://jira.opnfv.org/browse/FUEL-266
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ fuelmenu/settings.yaml | 36 +++---------------------------------
+ 1 file changed, 3 insertions(+), 33 deletions(-)
+
+diff --git a/fuelmenu/settings.yaml b/fuelmenu/settings.yaml
+index e93309a..aaf07cd 100644
+--- a/fuelmenu/settings.yaml
++++ b/fuelmenu/settings.yaml
+@@ -13,47 +13,17 @@ BOOTSTRAP:
+ http_proxy: ""
+ https_proxy: ""
+ repos:
+- - name: "ubuntu"
+- section: "main universe multiverse"
+- uri: "http://archive.ubuntu.com/ubuntu"
++ - name: "ubuntu-local"
++ section: "main"
++ uri: "http://127.0.0.1:8080/mirrors/ubuntu"
+ priority: null
+ suite: "${codename}"
+ type: "deb"
+- - name: "ubuntu-updates"
+- section: "main universe multiverse"
+- uri: "http://archive.ubuntu.com/ubuntu"
+- priority: null
+- suite: "${codename}-updates"
+- type: "deb"
+- - name: "ubuntu-security"
+- section: "main universe multiverse"
+- uri: "http://archive.ubuntu.com/ubuntu"
+- priority: null
+- suite: "${codename}-security"
+- type: "deb"
+ - name: "mos"
+ section: "main restricted"
+ uri: "http://127.0.0.1:8080/ubuntu/x86_64"
+ priority: 1050
+ suite: "mos${mos_version}"
+ type: "deb"
+- - name: "mos-updates"
+- section: "main restricted"
+- uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/${mos_version}"
+- priority: 1050
+- suite: "mos${mos_version}-updates"
+- type: "deb"
+- - name: "mos-security"
+- section: "main restricted"
+- uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/${mos_version}"
+- priority: 1050
+- suite: "mos${mos_version}-security"
+- type: "deb"
+- - name: "mos-holdback"
+- section: "main restricted"
+- uri: "http://mirror.fuel-infra.org/mos-repos/ubuntu/${mos_version}"
+- priority: 1100
+- suite: "mos${mos_version}-holdback"
+- type: "deb"
+ PRODUCTION: docker
+ FEATURE_GROUPS: []