Merge "Sweetcomb: container build detection"
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 19 Feb 2019 15:29:03 +0000 (15:29 +0000)
committerGerrit Code Review <gerrit@fd.io>
Tue, 19 Feb 2019 15:29:03 +0000 (15:29 +0000)
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')