summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
Diffstat (limited to 'automated')
-rw-r--r--automated/linux/nginx-server/nginx-odp-dpdk.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/automated/linux/nginx-server/nginx-odp-dpdk.yaml b/automated/linux/nginx-server/nginx-odp-dpdk.yaml
index 9f65e0b..749bde5 100644
--- a/automated/linux/nginx-server/nginx-odp-dpdk.yaml
+++ b/automated/linux/nginx-server/nginx-odp-dpdk.yaml
@@ -25,14 +25,15 @@ install:
params:
MAX_CORES: 0
VLAND_NAME: vlan_one
+ DEB_REPO_URL: http://deb.opendataplane.org
+ DEB_REPO_KEY_URL: http://deb.opendataplane.org/odp.key
run:
steps:
- - wget -O - http://deb.opendataplane.org/odp.key|sudo apt-key add -
- - echo "deb http://deb.opendataplane.org jessie main" > /etc/apt/sources.list.d/odp.list
- - echo "deb http://ftp.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list
+ - . automated/lib/sh-test-lib
+ - add_key "$DEB_REPO_KEY_URL"
+ - add_repo "$DEB_REPO_URL"
- apt-get update
- - apt-get -t jessie-backports install -y libssl1.0.0 libssl-dev
- sysctl -w vm.nr_hugepages=1024
- modprobe uio
- apt-get install -y dpdk-igb-uio-dkms dpdk pciutils