Jorik Jonker 6b184905e6 calico: fix NetworkManager check (#7169)
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)
2021-02-22 06:01:43 -08:00
..
2020-06-16 02:30:04 -07:00
2021-02-22 06:01:43 -08:00
2021-01-05 07:09:59 -08:00