Sweetcomb: container build detection 15/17615/1
authorEd Kern <ejk@cisco.com>
Thu, 14 Feb 2019 17:26:07 +0000 (10:26 -0700)
committerEd Kern <ejk@cisco.com>
Thu, 14 Feb 2019 17:26:07 +0000 (10:26 -0700)
Always true line added to assist with build server device
detection

Change-Id: Ibe283c2a02ba88a588901c94a2b6bdbfc188b061
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/sweetcomb/include-raw-sweetcomb-build.sh

index 8f12a9d..b03b0ef 100644 (file)
@@ -2,6 +2,9 @@
 # basic build script example
 set -xe -o pipefail
 
+##container server node detection
+grep search /etc/resolv.conf  || true
+
 OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
 OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')