]> git.ipfire.org Git - thirdparty/dracut.git/commit
cms: regenerate NetworkManager connections
authorBeniamino Galvani <bgalvani@redhat.com>
Wed, 24 Jun 2020 11:09:04 +0000 (13:09 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 25 Jun 2020 08:58:34 +0000 (10:58 +0200)
commit5c3d0a96473ac339fa2d1b25213b8f301c1cfd0d
treecabe9052412a6e6ab1314705c52cb3fa8d316bc1
parent6e1e87cd2567801b10b2b4f716436c48688408bf
cms: regenerate NetworkManager connections

After changing the kernel command line, the cmsifup script calls ifup
to activate the interface. However, ifup is only available in the
network-legacy module; when using the network-manager module, we
should regenerate connections according to the command line; then
later NM will be run and will activate the device.
modules.d/80cms/cmsifup.sh