Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[RHEL] network: default to network-legacy even in presence of nm-init…
…rd-generator

In RHEL 8.2, NetworkManager will ship with the nm-initrd-generator, but
before the install bits fall into place we want to default to network-legacy.

This unblocks the enablement of the NetworkManager bits and is intended
to be reverted later on.
  • Loading branch information
lkundrak authored and lnykryn committed Oct 1, 2019
1 parent 81babde commit 7843bc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules.d/40network/module-setup.sh
Expand Up @@ -8,9 +8,9 @@ check() {
# called by dracut
depends() {
echo -n "kernel-network-modules "
if ! dracut_module_included "network-legacy" && [ -x "/usr/libexec/nm-initrd-generator" ] ; then
echo "network-manager"
else
# RHEL 8.1: Default to network-legacy unless the user chose
# network-manager manually
if ! dracut_module_included "network-manager" ; then
echo "network-legacy"
fi
return 0
Expand Down

0 comments on commit 7843bc5

Please sign in to comment.