Use specific kernel version in p4vm

There is a known issue with some kernel versions that affects PTF tests:
https://github.com/jafingerhut/p4-guide/tree/master/linux-veth-bug

Change-Id: I207cd7b6c2de72c1a9fd353c931584551889a0d3
This commit is contained in:
Carmelo Cascone 2019-04-12 11:05:50 -07:00
parent 15743ea55b
commit 97d36a284e

View File

@ -5,6 +5,10 @@ ONOS_BRANCH_DEV="master"
ONOS_BRANCH_TUTORIAL="onos-1.14"
BAZEL_VER="0.22.0"
# There is a known issue with some kernel versions that affects PTF tests:
# https://github.com/jafingerhut/p4-guide/tree/master/linux-veth-bug
KERNEL_VER="4.15.0-46-generic"
VM_TYPE=${1:-dev}
if [[ ${VM_TYPE} = "tutorial" ]]
@ -62,6 +66,7 @@ apt-get -y --no-install-recommends install \
automake \
autoconf \
libtool \
linux-image-${KERNEL_VER} \
isc-dhcp-server
DEBIAN_FRONTEND=noninteractive apt-get -yq install wireshark