Switch frr pkg installation to local repo
Related-PRODX: PRODX-34894
Change-Id: I32f91a773e09ab98824ab70c13ffe8b7a35924a4
diff --git a/de/heat-templates/scripts/instance_boot.sh b/de/heat-templates/scripts/instance_boot.sh
index 71ce59e..5ddaae8 100644
--- a/de/heat-templates/scripts/instance_boot.sh
+++ b/de/heat-templates/scripts/instance_boot.sh
@@ -949,9 +949,8 @@
function install_frr {
function _install_frr_packages {
- curl -s https://deb.frrouting.org/frr/keys.asc | sudo apt-key add -
FRRVER="frr-stable"
- echo deb https://deb.frrouting.org/frr $(lsb_release -s -c) $FRRVER | sudo tee -a /etc/apt/sources.list.d/frr.list
+ add-apt-repository "deb [arch=amd64] https://mirror.mirantis.com/.snapshots/frr-stable-latest/ ${OS_CODENAME} ${FRRVER}"
install_pkgs frr frr-pythontools
}
retry 3 "Can't install frr packages" _install_frr_packages