summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-06-08 22:12:52 -0700
committerTim Smith <tsmith@chef.io>2019-06-08 22:19:28 -0700
commit136971c5975251d7cb5b060dcacd2565bd7eab26 (patch)
tree3e68bce3030515eed9724e5c72da54cbf3d24ba3 /scripts
parent404c18b448bf5491a32b7c7e0c6c42bc83fee037 (diff)
downloadchef-136971c5975251d7cb5b060dcacd2565bd7eab26.tar.gz
Don't install net-tools on opensuse
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bk_tests/bk_container_prep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bk_tests/bk_container_prep.sh b/scripts/bk_tests/bk_container_prep.sh
index 4e5a4eb435..1c30d9f354 100755
--- a/scripts/bk_tests/bk_container_prep.sh
+++ b/scripts/bk_tests/bk_container_prep.sh
@@ -5,7 +5,7 @@ if [ -f /etc/debian_version ]; then
apt-get update -y && apt-get install -y net-tools iproute2
mkdir -p /etc/network/interfaces.d
touch /etc/network/interfaces
-else
+elif [ -f /etc/redhat-release ]; then
yum install -y net-tools
fi