[debian-edu-commits] [Git][debian-edu/debian-edu-config][rclobus/apt_proxy] Use the proxy to speed up tests in a VM

Roland Clobus (@rclobus) gitlab at salsa.debian.org
Mon Nov 9 09:40:13 GMT 2026



Roland Clobus pushed to branch rclobus/apt_proxy at Debian Edu / debian-edu-config


Commits:
e0111ec9 by Roland Clobus at 2026-11-09T10:39:58+01:00
Use the proxy to speed up tests in a VM

- - - - -


1 changed file:

- sbin/debian-edu-ltsp-install


Changes:

=====================================
sbin/debian-edu-ltsp-install
=====================================
@@ -134,6 +134,17 @@ img="yes"
 desktop="xfce"
 x2go_desktop="$(select_desktop)"
 
+# If apt was configured to use a proxy (e.g. in a VM), use it here too
+if [ -z "$http_proxy" ]; then
+    eval $(apt-config shell http_proxy Acquire::http::Proxy)
+fi
+if [ -z "$https_proxy" ]; then
+    eval $(apt-config shell https_proxy Acquire::https::Proxy)
+fi
+if [ -z "$ftp_proxy" ]; then
+    eval $(apt-config shell ftp_proxy Acquire::ftp::Proxy)
+fi
+
 while [ $# -gt 0 ] ; do
   case "$1" in
     --arch) arch="$2" ; shift ;;



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/e0111ec99cf9c72e45c48baf974fca345697c59e

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/e0111ec99cf9c72e45c48baf974fca345697c59e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20261109/347db4c1/attachment-0001.htm>


More information about the debian-edu-commits mailing list