spiegel_podman/pkg/machine
esendjer 2128236da5 ignition: propagate proxy settings from a host into a vm
Set proxy settings (such as `HTTP_PROXY`, and others)
for the whole guest OS with setting up `DefaultEnvironment`
with a `systemd` configuration file `default-env.conf`,
a `profile.d` scenario file - `default-env.sh` and
a `environment.d` configuration file `default-env.conf`

The **actual** environment variables are read by podman
at a start, then they are encrypted with base64 into
a single string and after are provided into a VM through
QEMU Firmware Configuration (fw_cfg) Device

Inside a VM a systemd service `envset-fwcfg.service`
reads the providead encrypted string from fw_cfg, decrypts
and then adds to the files
 - `/etc/systemd/system.conf.d/default-env.conf`
 - `/etc/profile.d/default-env.sh`
 - `/etc/environment.d/default-env.conf`
At the end this service execute  `systemctl daemon-reload`
to propagate new variables for systemd manager

[NO NEW TESTS NEEDED]

Closes #13168

Signed-off-by: esendjer <esendjer@gmail.com>
2022-02-16 14:02:42 -05:00
..
qemu ignition: propagate proxy settings from a host into a vm 2022-02-16 14:02:42 -05:00
wsl Update to podman4 copr stream 2022-02-16 14:01:20 -05:00
config.go Merge pull request #12835 from baude/issue12815 2022-01-13 00:34:19 +01:00
connection.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00
fcos.go Temporarily pull machine images from side repo 2022-02-14 15:10:40 -06:00
fedora.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00
ignition.go ignition: propagate proxy settings from a host into a vm 2022-02-16 14:02:42 -05:00
ignition_darwin.go Set machine timezone 2021-12-16 12:40:20 -06:00
ignition_linux.go Set machine timezone 2021-12-16 12:40:20 -06:00
ignition_schema.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00
ignition_windows.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00
keys.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00
machine_unsupported.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00
pull.go Introduce Windows WSL implementation of podman machine 2021-12-24 19:28:10 -06:00