summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorDongsu Park <dongsu@kinvolk.io>2020-06-02 15:11:53 +0200
committerGitHub <noreply@github.com>2020-06-02 18:41:53 +0530
commit598e3392a9597f0214d68882da4f4ca07314ce41 (patch)
tree066c1bf9613c953ebfdb038bed192f913c8cd6c4 /hacking
parentd7f61cbc281f4b8eccf7fe67eea5522cb28b52b2 (diff)
downloadansible-598e3392a9597f0214d68882da4f4ca07314ce41.tar.gz
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
Diffstat (limited to 'hacking')
-rwxr-xr-xhacking/tests/gen_distribution_version_testcase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hacking/tests/gen_distribution_version_testcase.py b/hacking/tests/gen_distribution_version_testcase.py
index 83c0b40db4..21c51d358e 100755
--- a/hacking/tests/gen_distribution_version_testcase.py
+++ b/hacking/tests/gen_distribution_version_testcase.py
@@ -37,6 +37,7 @@ filelist = [
'/etc/altlinux-release',
'/etc/os-release',
'/etc/coreos/update.conf',
+ '/etc/flatcar/update.conf',
'/usr/lib/os-release',
]