VPP: made nexus repo trusted for ubuntu 66/12266/1
authorEd Kern <ejk@cisco.com>
Fri, 27 Apr 2018 17:42:04 +0000 (11:42 -0600)
committerEd Kern <ejk@cisco.com>
Fri, 27 Apr 2018 17:42:04 +0000 (11:42 -0600)
ubuntu 1804 a bit more strict about using untrusted repos
causing script failure. So just make the nexus repo
trusted across the board.

Change-Id: I200f8af16c70b150a939cbdbe6045cbcba9be358
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/scripts/setup_vpp_dpdk_dev_env.sh

index f2ceb53..58d8c4f 100644 (file)
@@ -11,7 +11,7 @@ function setup {
         echo "REPO_URL: ${REPO_URL}"
         # Setup by installing vpp-dev and vpp-lib
         if [ "$OS_ID" == "ubuntu" ]; then
-            echo "deb ${REPO_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list
+            echo "deb [trusted=yes] ${REPO_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list
             sudo apt-get update || true
             sudo apt-get -y --force-yes install vpp-dpdk-dev || true
             sudo apt-get -y --force-yes install vpp-dpdk-dkms || true