From d116928396655b6db92b6786022ff68f13df58c7 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 9 Apr 2017 14:10:21 +0200 Subject: 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 --- ...s-OPNFV-bootstrap-Default-to-local-mirror.patch | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch (limited to 'build/f_repos/patch') 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 +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 +--- + 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: [] -- cgit 1.2.3-korg