Use the RPM-OStree HTTP or HTTPS proxy
To use the HTTP or HTTPS proxy in RPM-OStree, add a Service section to the configuration file and 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.conffile:[Service] 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:
$ sudo systemctl daemon-reload -
Restart the
rpm-ostreedservice by running the following command:$ sudo systemctl restart rpm-ostreed.service
-