[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Use the proxy to speed up tests in a VM (Closes: #1153509)
Mike Gabriel (@sunweaver)
gitlab at salsa.debian.org
Mon Nov 9 12:22:11 GMT 2026
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
0b25f963 by Roland Clobus at 2026-11-09T12:03:50+00:00
Use the proxy to speed up tests in a VM (Closes: #1153509)
- - - - -
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/0b25f96372b622b2b2385f64e699ba24bb99f5f7
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/0b25f96372b622b2b2385f64e699ba24bb99f5f7
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/c85d543c/attachment-0001.htm>
More information about the debian-edu-commits
mailing list