On RHEL/CentOS 8, this role now installs the network-scripts RPM. This
RPM provides the legacy ifup / ifdown implementations that can bypass
NetworkManager. It also provides a network init.d script. However, this
script is not enabled by default.
Since we use NM_CONTROLLED=no, this means that a role invocation will
work fine, until the next reboot or until the DHCP lease expires (when
using DHCP), whichever comes first.
This change fixes the issue by enabling network.service.
On RHEL/CentOS 8, this role now installs the network-scripts RPM. This RPM provides the legacy ifup / ifdown implementations that can bypass NetworkManager. It also provides a network init.d script. However, this script is not enabled by default.
Since we use NM_CONTROLLED=no, this means that a role invocation will work fine, until the next reboot or until the DHCP lease expires (when using DHCP), whichever comes first.
This change fixes the issue by enabling network.service.
Fixes: #68