FreeBSD Bugzilla – Attachment 243611 Details for
Bug 214390
Installer assumes no proxy necessary reaching the internet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-netconfig-add-support-for-setting-network-proxies.patch
0001-netconfig-add-support-for-setting-network-proxies.patch (text/plain), 1.56 KB, created by
Pierre Pronchery
on 2023-07-25 14:53:54 UTC
(
hide
)
Description:
0001-netconfig-add-support-for-setting-network-proxies.patch
Filename:
MIME Type:
Creator:
Pierre Pronchery
Created:
2023-07-25 14:53:54 UTC
Size:
1.56 KB
patch
obsolete
>From 0f6908868f4917a52f48b497bc12c09a907f59c7 Mon Sep 17 00:00:00 2001 >From: Pierre Pronchery <pierre@freebsdfoundation.org> >Date: Mon, 24 Jul 2023 20:55:40 +0200 >Subject: [PATCH] netconfig: add support for setting network proxies > >This is for #214390. > >Sponsored by: The FreeBSD Foundation >--- > scripts/auto | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > >diff --git a/scripts/auto b/scripts/auto >index 94afa86..7fce697 100755 >--- a/scripts/auto >+++ b/scripts/auto >@@ -185,6 +185,24 @@ if [ -n "$FETCH_DISTRIBUTIONS" -a -n "$BSDINSTALL_CONFIGCURRENT" ]; then > dialog --backtitle "$OSNAME Installer" --title "Network Installation" --msgbox "Some installation files were not found on the boot volume. The next few screens will allow you to configure networking so that they can be downloaded from the Internet." 0 0 > bsdinstall netconfig || error > NETCONFIG_DONE=yes >+ >+ f_getvar "httpProxy" "value" >+ [ -n "$value" ] || value="$HTTP_PROXY" >+ [ -n "$value" ] || value="$http_proxy" >+ unset HTTP_PROXY http_proxy >+ exec 3>&1 >+ value=$(bsddialog --backtitle "$OSNAME Installer" --title 'Network Configuration' --no-cancel --inputbox "HTTP Proxy:" 0 0 "$value" 2>&1 1>&3) >+ exec 3>&- >+ export HTTP_PROXY="$value" >+ >+ f_getvar "ftpProxy" "value" >+ [ -n "$value" ] || value="$FTP_PROXY" >+ [ -n "$value" ] || value="$ftp_proxy" >+ unset FTP_PROXY ftp_proxy >+ exec 3>&1 >+ value=$(bsddialog --backtitle "$OSNAME Installer" --title 'Network Configuration' --no-cancel --inputbox "FTP Proxy:" 0 0 "$value" 2>&1 1>&3) >+ exec 3>&- >+ export FTP_PROXY="$value" > fi > > rm -f $PATH_FSTAB >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214390
: 243611