mirror of
				https://github.com/opennetworkinglab/onos.git
				synced 2025-10-31 00:01:01 +01:00 
			
		
		
		
	Change-Id: Iacf2ca8f8467dc91e696ace5ed30412f7869110a (cherry picked from commit 2b8bcbcd3d0e3e66ee2bc681f0f1dfbb0e2a218f)
		
			
				
	
	
		
			16 lines
		
	
	
		
			408 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			408 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| set -xe
 | |
| 
 | |
| # There is a known issue with some kernel versions that affects PTF tests:
 | |
| # https://github.com/jafingerhut/p4-guide/tree/master/linux-veth-bug
 | |
| 
 | |
| # Run this script to update the kernel inside the VM.
 | |
| 
 | |
| KERNEL_VER="4.15.0-46-generic"
 | |
| 
 | |
| apt-get update
 | |
| apt-get -y --no-install-recommends install \
 | |
|     linux-image-${KERNEL_VER} linux-headers-${KERNEL_VER}
 | |
| 
 | |
| apt-mark hold ${KERNEL_VER} |