diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2019-02-19 15:29:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-02-19 15:29:03 +0000 |
commit | 222c84a97b69f6f85628675334e8d7e42e61a250 (patch) | |
tree | 44cf4e1e388448d58cbc677f5712cb3faf53b1e1 /jjb | |
parent | be612c3280a8e8e7a67431bf2f8aa55c81b255cb (diff) | |
parent | 6181d43d73860015d7ed43f57d1f208719890b59 (diff) |
Merge "Sweetcomb: container build detection"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/sweetcomb/include-raw-sweetcomb-build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/sweetcomb/include-raw-sweetcomb-build.sh b/jjb/sweetcomb/include-raw-sweetcomb-build.sh index 8f12a9dd9..b03b0ef53 100644 --- a/jjb/sweetcomb/include-raw-sweetcomb-build.sh +++ b/jjb/sweetcomb/include-raw-sweetcomb-build.sh @@ -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') |