NetworkManager/clients/cloud-setup
Thomas Haller ff816dec17 cloud-setup: require to explicitly opt-in for providers via environment variable
"nm-cloud-setup" is supposed to work without configuration.

However, it (obviously) fetches data from the network you are connected to (which
might be untrusted or controlled by somebody malicious). The tool cannot
protect you against that, also because the meta data services uses HTTP and not
HTTPS. It means, you should run the tool only when it's suitable for your
environment, that is: in the right cloud.

Usually, the user/admin/distributor would know for which cloud the enable the tool.
It's also wasteful to repeatedly probe for the unavailable cloud.

So, instead disable all providers by default and require to opt-in by setting an
environment variable.

This can be conveniently done via `systemctl edit nm-cloud-provider.service` to
set Environment=. Of course, a image can also pre-deploy such am override file.
2019-12-03 16:18:33 +01:00
..
90-nm-cloud-setup.sh cloud-setup: let dispatcher script run tool only if service is enabled 2019-12-03 16:18:33 +01:00
main.c cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
meson.build cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-cloud-setup-utils.c cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-cloud-setup-utils.h cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-cloud-setup.service.in cloud-setup: require to explicitly opt-in for providers via environment variable 2019-12-03 16:18:33 +01:00
nm-cloud-setup.timer cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-http-client.c cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-http-client.h cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nmcs-provider-ec2.c cloud-setup: require to explicitly opt-in for providers via environment variable 2019-12-03 16:18:33 +01:00
nmcs-provider-ec2.h cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nmcs-provider.c cloud-setup: require to explicitly opt-in for providers via environment variable 2019-12-03 16:18:33 +01:00
nmcs-provider.h cloud-setup: require to explicitly opt-in for providers via environment variable 2019-12-03 16:18:33 +01:00