-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
machine: Setup proxy for podman.service
At the moment, the proxy configuration done in crc is not used by podman-remote. This happens because we don't propagate the needed environment variable to the services podman uses in the VM. This commit creates a /etc/environment.d/proxy-env.conf file which will be used automatically by systemd when it spawns podman.service for rootless use (ie through a systemd user instance) This then adds a /etc/systemd/system/podman.service.d/proxy-env.conf file to achieve the same for podman.service used as root (in the main systemd instance). This file re-uses the env vars defined in /etc/environment.d/proxy-env.conf This fixes #3166
- Loading branch information
1 parent
ab054b2
commit a706553
Showing
1 changed file
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters