REPO_URL="${NEXUSPROXY}/content/repositories/fd.io.${REPO_NAME}"
echo "REPO_URL: ${REPO_URL}"
# Setup by installing vpp-dev and vpp-lib
- if [ "$DISTRIB_ID" == "ubuntu" ]; then
+ if [ "$OS_ID" == "Ubuntu" ]; then
echo "deb ${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
- elif [ "$DISTRIB_ID" == "centos" ]; then
+ elif [ "$OS_ID" == "centos" ]; then
sudo cat << EOF > fdio-master.repo
[fdio-master]
name=fd.io master branch latest merge