mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-13 19:10:12 -03:30
Previous check for presence of NM assumed "systemctl show NetworkManager" would exit with a nonzero status code, which seems not the case anymore with recent Flatcar Container Linux. This new check also checks the activeness of network manager, as `is-active` implies presence. Signed-off-by Jorik Jonker <jorik@kippendief.biz> (cherry picked from commit bba55faae8a53a9f2f4a898a2fe6dea9a71d4b76)