Discover Flatcar Linux properly for hostname (#69627)

To avoid issues with Flatcar Container Linux being unable to be found,
detect Flatcar distro name especially for hostname, just like CoreOS
Container Linux was supported.

See also https://github.com/ansible/ansible/issues/69516
This commit is contained in:
Dongsu Park
2020-06-02 18:41:53 +05:30
committed by GitHub
parent d7f61cbc28
commit 598e3392a9
7 changed files with 56 additions and 0 deletions
@@ -37,6 +37,7 @@ filelist = [
'/etc/altlinux-release',
'/etc/os-release',
'/etc/coreos/update.conf',
'/etc/flatcar/update.conf',
'/usr/lib/os-release',
]