aboutsummaryrefslogtreecommitdiff
path: root/share/provision/development
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-02 22:04:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-02 22:04:07 -0200
commit7441b792e197734b85f7c01a64397fb97a267128 (patch)
tree9e75019a3ed39e556a42d817c12605d29d2138f6 /share/provision/development
parent6207b570cf9bc67fb0988ce91f5c79e6430c0acc (diff)
downloadkvmx-7441b792e197734b85f7c01a64397fb97a267128.tar.gz
kvmx-7441b792e197734b85f7c01a64397fb97a267128.tar.bz2
Adds qcow2_compression config, use https://deb.debian.org/debian/ mirror when possible
Diffstat (limited to 'share/provision/development')
-rwxr-xr-xshare/provision/development5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/provision/development b/share/provision/development
index 0f44c07..0b477df 100755
--- a/share/provision/development
+++ b/share/provision/development
@@ -30,7 +30,10 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y"
cd
# Configuring APT
-sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list || exit 1
+$APT_INSTALL apt-transport-https || exit 1
+sudo sed -i -e "s|http://http.debian.net|https://deb.debian.org|g" /etc/apt/sources.list || exit 1
+sudo sed -i -e "s|http://deb.debian.org|https://deb.debian.org|g" /etc/apt/sources.list || exit 1
+sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list || exit 1
# Upgrade
if which hydractl &> /dev/null; then