Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/assemblies/common_configurations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,14 @@ documentation for the version of Satellite that is in use.
=== Using `edpm_bootstrap_command` for configuring system proxy settings

`edpm_bootstrap_command` can be used to configure system proxy settings by
creating a file under `/etc/profile.d` that defines the proxy environment
variables.
adding the proxy environment variables to `/etc/environment`.

----
edpm_bootstrap_command: |
cat >/etc/profile.d/proxy.sh <<EOF
export http_proxy="http://USERNAME:[email protected]:3128/"
export https_proxy="http://USERNAME:[email protected]:3128/"
export no_proxy="localhost,127.0.0.1,::1" # Add any hosts to bypass the proxy
cat >>/etc/environment <<EOF
http_proxy="http://USERNAME:[email protected]:3128/"
https_proxy="http://USERNAME:[email protected]:3128/"
no_proxy="localhost,127.0.0.1,::1" # Add any hosts to bypass the proxy
EOF
----

Expand Down