From eb4e90b8b39b6f918e27efc8b217b4968d06f7cb Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Tue, 3 Jul 2018 11:42:03 +0800 Subject: linux/smoke: install dependencies for vmstat and ip commands vmstat and ip commands are not included in debian stretch-slim docker image, so install the related dependencies by default. Change-Id: I5f3d8394f31b0848524d9bb1af481c4c9f4e0924 Signed-off-by: Chase Qi --- automated/linux/smoke/smoke.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated/linux/smoke/smoke.sh b/automated/linux/smoke/smoke.sh index 75db48d..f50f8ba 100755 --- a/automated/linux/smoke/smoke.sh +++ b/automated/linux/smoke/smoke.sh @@ -24,8 +24,8 @@ install() { dist_name # shellcheck disable=SC2154 case "${dist}" in - debian|ubuntu) install_deps "lsb-release" "${SKIP_INSTALL}";; - fedora|centos) install_deps "redhat-lsb-core" "${SKIP_INSTALL}";; + debian|ubuntu) install_deps "lsb-release procps iproute2" "${SKIP_INSTALL}";; + fedora|centos) install_deps "redhat-lsb-core procps iproute" "${SKIP_INSTALL}";; unknown) warn_msg "Unsupported distro: package install skipped" ;; esac } -- cgit v1.2.3