spiegel_podman/pkg
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
..
annotations Spelling 2020-12-22 13:34:31 -05:00
api Add 409 response to swagger godoc 2022-02-16 13:55:56 -05:00
auth Run codespell on code 2022-01-21 09:52:12 -05:00
autoupdate bump go module to version 4 2022-01-18 12:47:07 +01:00
bindings Make sure building with relative paths work correctly. 2022-02-16 13:56:39 -05:00
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint Fix checkpoint/restore pod tests 2022-02-16 13:58:40 -05:00
copy bump go module to version 4 2022-01-18 12:47:07 +01:00
criu Error out early if system does not support pre-copy checkpointing 2021-12-23 09:51:38 +00:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Podman pod create --share-parent vs --share=cgroup 2022-02-10 13:49:46 -05:00
env Implement env parsing on Windows 2022-01-19 12:05:04 -06:00
errorhandling Handle HTTP 409 error messages properly for Pod actions 2021-11-02 12:28:52 +01:00
hooks bump go module to version 4 2022-01-18 12:47:07 +01:00
inspect bump go module to version 4 2022-01-18 12:47:07 +01:00
kubeutils bump go module to version 4 2022-01-18 12:47:07 +01:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
machine ignition: propagate proxy settings from a host into a vm 2022-02-16 14:02:42 -05:00
namespaces [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
parallel bump go module to version 4 2022-01-18 12:47:07 +01:00
ps bump go module to version 4 2022-01-18 12:47:07 +01:00
resolvconf Revert "Move each search dns to its own line" 2022-02-03 16:21:26 -05:00
rootless rootless: report correctly the error 2022-01-19 21:14:33 +01:00
rootlessport use libnetwork from c/common 2022-01-12 17:07:30 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen Podman pod create --share-parent vs --share=cgroup 2022-02-10 13:49:46 -05:00
specgenutil Fix size to match Docker selection 2022-02-03 14:54:29 -05:00
systemd Handlers for generate systemd with custom dependencies 2022-01-19 21:46:16 +05:00
terminal Fix #11444: remote breaks with stdout redirection 2021-09-13 17:42:48 +03:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
util idmap should be able to be specified along with other options 2022-02-09 07:14:53 -05:00