mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-21 12:22:18 +02:00
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:
parent
15743ea55b
commit
97d36a284e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user