2 ##############################################################################
3 # Copyright (c) 2018 The Linux Foundation and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Eclipse Public License v1.0
7 # which accompanies this distribution, and is available at
8 # http://www.eclipse.org/legal/epl-v10.html
9 ##############################################################################
12 OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
14 if ! [ -z ${DOCKER_TEST} ] ; then
15 mount -o remount /dev/shm -o size=512M || true
16 echo "/dev/shm remounted"
19 ##container server node detection
20 grep search /etc/resolv.conf || true
22 if [ "${OS_ID}" == "ubuntu" ]; then
23 dpkg-query -W -f='${binary:Package}\t${Version}\n' || true
25 elif [ "${OS_ID}" == "centos" ]; then
26 yum list installed || true
28 elif [ "${OS_ID}" == "opensuse" ]; then
29 yum list installed || true
33 if [ "x${IS_CSIT_VPP_JOB}" == "xTrue" ]; then
34 (cp /w/dpdk/vpp-dpdk-dkms*.deb ./dpdk/ > /dev/null 2>&1 ) || true
35 ls -l dpdk/*.deb || true
36 echo "csit vpp-dpdk-dkms package download"