cadvisor/utils/cloudinfo
Ray Tung 189cc9ce3c Fixes #2232
This commit fixes the bug in #2232 where cadvisor was not able to detect
the cloud provider if it's running on a custom AMI derived from
Amazon Linux 2.

It does so by checking /etc/os-release. However, from what I've read,
/etc/os-release is pretty much a systemd thing. Although Amazon Linux 2
comes with systemd, cadvisor cannot assume the existence of systemd in
other AMIs / OSes, therefore we would only be checking for
/etc/os-release if all other methods fail us.
2019-05-15 23:52:28 +10:00
..
aws Fixes #2232 2019-05-15 23:52:28 +10:00
azure Remove CloudProvider SDK dependencies 2019-04-04 10:07:24 -07:00
gce Remove CloudProvider SDK dependencies 2019-04-04 10:07:24 -07:00
cloudinfo.go Remove CloudProvider SDK dependencies 2019-04-04 10:07:24 -07:00