[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:13:25 GMT 2026



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


Commits:
c0e9a82d by Roland Clobus at 2026-11-09T10:13:09+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,11 @@ img="yes"
 desktop="xfce"
 x2go_desktop="$(select_desktop)"
 
+if [ -z "$http_proxy" ];
+    # If apt was configured to use a proxy (e.g. in a VM), use it here too
+    eval $(apt-config shell http_proxy Acquire::http::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/c0e9a82d0b82d8928791efaeeaeb113b18c289aa

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/c0e9a82d0b82d8928791efaeeaeb113b18c289aa
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/7a6f21fd/attachment.htm>


More information about the debian-edu-commits mailing list