summaryrefslogtreecommitdiffstats
path: root/xci
diff options
context:
space:
mode:
Diffstat (limited to 'xci')
-rw-r--r--xci/files/xci-lib.sh6
-rwxr-xr-xxci/scripts/vm/start-new-vm.sh8
2 files changed, 7 insertions, 7 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}
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh
index 410b0972..965cfe4c 100755
--- a/xci/scripts/vm/start-new-vm.sh
+++ b/xci/scripts/vm/start-new-vm.sh
@@ -119,14 +119,14 @@ COMMON_DISTRO_PKGS=(vim strace gdb htop dnsmasq docker iptables ebtables virt-ma
case ${ID,,} in
*suse*)
- pkg_mgr_cmd="sudo zypper -q -n install ${COMMON_DISTRO_PKGS[@]} qemu-tools libvirt-daemon libvirt-client libvirt-daemon-driver-qemu"
+ pkg_mgr_cmd="sudo zypper -q -n install ${COMMON_DISTRO_PKGS[@]} qemu-tools libvirt-daemon libvirt-client libvirt-daemon-driver-qemu > /dev/null"
;;
centos)
- pkg_mgr_cmd="sudo yum install -C -q -y epel-release"
- pkg_mgr_cmd+=" && sudo yum install -C -q -y in ${COMMON_DISTRO_PKGS[@]} qemu-kvm-tools qemu-img libvirt-daemon-kvm"
+ pkg_mgr_cmd="sudo yum install -C -q -y epel-release > /dev/null"
+ pkg_mgr_cmd+=" && sudo yum install -C -q -y in ${COMMON_DISTRO_PKGS[@]} qemu-kvm-tools qemu-img libvirt-daemon-kvm > /dev/null"
;;
ubuntu)
- pkg_mgr_cmd="sudo apt-get install --no-upgrade -y -q=3 ${COMMON_DISTRO_PKGS[@]} libvirt-bin qemu-utils docker.io"
+ pkg_mgr_cmd="sudo apt-get install --no-upgrade -y -q=3 ${COMMON_DISTRO_PKGS[@]} libvirt-bin qemu-utils docker.io > /dev/null"
;;
esac