File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,14 @@ documentation for the version of Satellite that is in use.
5555=== Using `edpm_bootstrap_command` for configuring system proxy settings
5656
5757`edpm_bootstrap_command` can be used to configure system proxy settings by
58- creating a file under `/etc/profile.d` that defines the proxy environment
59- variables.
58+ adding the proxy environment variables to `/etc/environment`.
6059
6160----
6261edpm_bootstrap_command: |
63- cat >/etc/profile.d/proxy.sh <<EOF
64- export http_proxy="http://USERNAME:PASSWORD@proxy-server.example.com:3128/"
65- export https_proxy="http://USERNAME:PASSWORD@proxy-server.example.com:3128/"
66- export no_proxy="localhost,127.0.0.1,::1" # Add any hosts to bypass the proxy
62+ cat >> /etc/environment <<EOF
63+ http_proxy="http://USERNAME:PASSWORD@proxy-server.example.com:3128/"
64+ https_proxy="http://USERNAME:PASSWORD@proxy-server.example.com:3128/"
65+ no_proxy="localhost,127.0.0.1,::1" # Add any hosts to bypass the proxy
6766 EOF
6867----
6968
You can’t perform that action at this time.
0 commit comments