summaryrefslogtreecommitdiffstats
path: root/xci/files
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2019-09-02 10:53:42 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-09-02 10:53:42 +0000
commit24729584009efe0ebe3ba2a18bcad72d3b4c7889 (patch)
treeb4a19a409b796ba9570928939939c05326f25a21 /xci/files
parentaf36eaa8edc74850a8a5c5d18940077fff1370b5 (diff)
parent8f06ab3f426d01b9dbda71b0f275f3d10d065a1c (diff)
Merge "Suppress package manager stdout in utility scripts"
Diffstat (limited to 'xci/files')
-rw-r--r--xci/files/xci-lib.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/xci/files/xci-lib.sh b/xci/files/xci-lib.sh
index 9e751497..860153b9 100644
--- a/xci/files/xci-lib.sh
+++ b/xci/files/xci-lib.sh
@@ -135,7 +135,7 @@ function install_ansible() {
[curl]=curl
)
EXTRA_PKG_DEPS=( apt-utils )
- sudo apt-get update
+ sudo apt-get update -qq > /dev/null
;;
rhel|fedora|centos)
@@ -158,7 +158,7 @@ function install_ansible() {
[wget]=wget
[curl]=curl
)
- sudo $PKG_MANAGER updateinfo
+ sudo $PKG_MANAGER updateinfo > /dev/null
EXTRA_PKG_DEPS=( deltarpm )
;;
@@ -172,7 +172,7 @@ function install_ansible() {
install_map+=(${EXTRA_PKG_DEPS[@]} )
- ${INSTALLER_CMD} ${install_map[@]}
+ ${INSTALLER_CMD} ${install_map[@]} > /dev/null
# We need to prepare our virtualenv now
virtualenv --quiet --no-site-packages ${XCI_VENV}