Commit Graph

31 Commits

Author SHA1 Message Date
Arnaud Meukam b336829add
Add detection of Debian distribution
Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2025-08-28 12:35:29 +02:00
Connor Catlett d4fe130e78
Use yum instead of dnf on Amazon Linux 2
Signed-off-by: Connor Catlett <conncatl@amazon.com>
2025-08-13 20:08:04 +00:00
justinsb 808b03ae6e Recognize fedora 41 and debian 13
Also simplify the dnf-detection logic; it looks like all our rpm distros now use dnf.
2024-11-29 15:21:37 -05:00
Peter Rifel e5244af31a
Add support for Rocky 9 2024-06-15 06:20:12 -05:00
Ciprian Hacman ada2b348ef Initial support for Ubuntu 24.04 (Noble Numbat) 2024-05-08 11:22:17 +03:00
zak905 82c2015a45 check /run/systemd/resolve/resolv.conf inside HasLoopbackEtcResolvConf 2024-05-07 16:53:11 +02:00
John Gardiner Myers 432ced6e57 Remove support for Ubuntu 18.04 2023-06-22 23:03:16 -07:00
Reilly Brogan a7e9c58ba7 Debian 12 Bookworm: Fix DNS resolution 2023-06-15 13:42:27 -05:00
Jan Safranek 9ce9aa754a Add RHEL9 support 2023-06-08 14:52:03 +02:00
Peter Rifel 036bb8c62b
Initial Amazon Linux 2023 support
This is untested, I'll add an e2e job once this merges
2023-03-16 18:03:31 -05:00
Reilly Brogan 281de53cab Initial support for Debian 12 Bookworm
Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
2023-03-15 15:05:09 -05:00
Steven E. Harris 9300ac1ad5
Avoid resolv.conf file loopback for Flatcar distro
In Flatcar Container Linux versions at 2748.0 and later, configure the
kubelet to use an alternate DNS resolver configuration. Rather than
using the "/etc/resolv.conf" file, use systemd-resolved's
"/run/systemd/resolve/resolv.conf" file.

Without this configuration, pods like CoreDNS that use the "Default"
DNS policy wind up with a DNS forwarding loop.

Signed-off-by: Steven E. Harris <seh@panix.com>
2022-05-08 06:58:50 -04:00
Ciprian Hacman c8645f0156 Add support for Rocky Linux 8
... as an alternative to CentOS 8, after its deprecation and removal.
2022-04-26 12:23:14 +03:00
Ciprian Hacman 4fe9822cf1 Add back support for Ubuntu 18.04 2022-04-26 08:22:50 +03:00
Ciprian Hacman 6a51577cb0 Creaate kubeconfig for the root user on Ubuntu 2022-04-24 10:45:37 +03:00
Ole Markus With af4c12c5e9
Revert "Recognize debian bullseye as having "broken" resolv.conf" 2021-12-12 14:41:52 +01:00
justinsb 689f66a390 Recognize debian bullseye as having "broken" resolv.conf
Debian bullseye also has the loopback resolv.conf that needs special
handling.
2021-12-11 10:15:46 -05:00
Ciprian Hacman e19a1bbad9 Remove support for RHEL/CentOS 7 2021-12-03 21:40:10 +02:00
Ciprian Hacman 2030055c54 Remove support for Ubuntu 18.04 2021-12-03 21:28:12 +02:00
Ciprian Hacman 45094241f6 Remove support for Ubuntu 16.04 2021-12-03 21:28:12 +02:00
Ciprian Hacman 2055eec0f9 Remove support for Debian 9 2021-12-03 21:12:28 +02:00
John Gardiner Myers c070c4def5 Remove support for CentOS 8 2021-12-02 23:09:08 -08:00
Ciprian Hacman 471bcefb89 Recognize Ubuntu 22.04 (Jammy Jellyfish) 2021-11-13 05:23:09 +02:00
Ciprian Hacman a7bb55b72f Recognize Ubuntu 21.10 (Impish Indri) 2021-09-11 08:56:33 +03:00
Reilly Brogan 850bca8db6 Support Debian 11 Bullseye 2021-08-06 12:52:16 -05:00
Ciprian Hacman e0eab51c5c Recognize Ubuntu 21.04 2021-04-27 12:54:42 +03:00
Justin Santa Barbara 78b139465c Refactor and centralize distribution logic
Use of a struct makes it more sustainable, centralizing into the
distribution package makes it simpler to follow.
2021-01-05 11:50:23 -05:00
Justin SB b17e44b709 Recognize ubuntu 20.10
Teach nodeup about ubuntu 20.10, including the unusual
/etc/resolv.conf configuration.
2021-01-05 10:53:40 -05:00
Ciprian Hacman 22ec1512dc Use numbers for distribution names 2020-08-17 07:25:43 +03:00
Ciprian Hacman 3825f657cc Use const for architectures and distributions 2020-08-17 07:25:43 +03:00
Ciprian Hacman e68ee80a93 Move and rename the "distros" package 2020-08-17 07:25:43 +03:00