diff options
author | Tim Smith <tsmith@chef.io> | 2019-06-08 21:56:43 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-06-08 21:56:43 -0700 |
commit | 404c18b448bf5491a32b7c7e0c6c42bc83fee037 (patch) | |
tree | 8bc33a00d5c6363563acb188e4e139d7dcc9995d /scripts | |
parent | 44c6cdb580d1e422472d9201765ee27de2da70b4 (diff) | |
download | chef-404c18b448bf5491a32b7c7e0c6c42bc83fee037.tar.gz |
Make sure we have the interfaces.d directory on Ubuntu
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bk_tests/bk_container_prep.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/bk_tests/bk_container_prep.sh b/scripts/bk_tests/bk_container_prep.sh index 3b0e68efb0..4e5a4eb435 100755 --- a/scripts/bk_tests/bk_container_prep.sh +++ b/scripts/bk_tests/bk_container_prep.sh @@ -2,10 +2,11 @@ # make sure we have the network tools in place for various network specs if [ -f /etc/debian_version ]; then - apt-get update -y && apt-get install -y net-tools iproute2 - touch /etc/network/interfaces + apt-get update -y && apt-get install -y net-tools iproute2 + mkdir -p /etc/network/interfaces.d + touch /etc/network/interfaces else - yum install -y net-tools + yum install -y net-tools fi # make sure we have the omnibus_overrides specified version of rubygems / bundler |