// Module included in the following assemblies:
//
// * microshift_networking/microshift-networking.adoc

:_content-type: PROCEDURE
[id="microshift-rpm-ostree-https_{context}"]
= Using the RPM-OStree HTTP(S) proxy

To use the HTTP(S) proxy in RPM-OStree, set the `http_proxy environment` variable for the `rpm-ostreed` service.

.Procedure

. Add this setting to the `/etc/systemd/system/rpm-ostreed.service.d/00-proxy.conf` file by running the following command:
+
[source,terminal]
----
Environment="http_proxy=http://$PROXY_USER:$PROXY_PASSWORD@$PROXY_SERVER:$PROXY_PORT/"
----

. Next, reload the configuration settings and restart the service to apply your changes.

.. Reload the configuration settings by running the following command:
+
[source,terminal]
----
$ sudo systemctl daemon-reload
----
.. Restart the rpm-ostree service by running the following command:
+
[source,terminal]
----
$ sudo systemctl restart rpm-ostreed.service
----
//Q: Instructions for how to test that the proxy works by booting the image, verifying that MicroShift starts, and that the application is accessible?
