VPP: add container server detection 43/10743/1
authorEd Kern <ejk@cisco.com>
Wed, 21 Feb 2018 23:46:50 +0000 (16:46 -0700)
committerEd Kern <ejk@cisco.com>
Wed, 21 Feb 2018 23:46:50 +0000 (16:46 -0700)
Adding grep one-liner to detect server node
where container build is happening since we
may want that information long after the build
happened

Change-Id: Iad26c06ac659998f6ac1b3563660ca77eb817e55
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/scripts/setup_vpp_ubuntu_docker_test.sh

index 0909139..d7a2ee1 100644 (file)
@@ -16,6 +16,9 @@ if ! [ -z ${DOCKER_TEST} ] ; then
         echo "/dev/shm remounted"
 fi
 
+##container server node detection
+grep search /etc/resolv.conf  || true
+
 if [ "${OS_ID}" == "ubuntu" ]; then
     dpkg-query -W -f='${binary:Package}\t${Version}\n' || true
     pip list || true
@@ -26,6 +29,7 @@ elif [ "${OS_ID}" == "opensuse" ]; then
     yum list installed || true
     pip list || true
 fi
+
 if [ "x${IS_CSIT_VPP_JOB}" == "xTrue" ]; then
        (cd dpdk ; apt-get download vpp-dpdk-dkms > /dev/null 2>&1) || true
     ls -l dpdk/*.deb || true