diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2019-08-31 18:05:49 +0200 |
---|---|---|
committer | Fatih Degirmenci <fdegir@gmail.com> | 2019-08-31 18:12:52 +0200 |
commit | 8f06ab3f426d01b9dbda71b0f275f3d10d065a1c (patch) | |
tree | ed5e316924ab45dc5f7eb90401c6a46eeeed521d /xci/files | |
parent | 0326442e753be727c2342b7caf9606393f84d744 (diff) |
Suppress package manager stdout in utility scripts
installer-type:kubespray
deploy-scenario:k8-calico-nofeature
JIRA: XCI-22
Change-Id: I59e072f25185fe1824469d94926b7064a3bb04ff
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/files')
-rw-r--r-- | xci/files/xci-lib.sh | 6 |
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} |