Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHEL-8] network-manager updates #612

Merged
merged 9 commits into from Aug 30, 2019

Conversation

lkundrak
Copy link
Contributor

Pull in the network-manager fixes (along with the test fixes) and and extra change that will make Dracut not switch to network-manager by default when nm-initrd-generator gets updated.

@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

@mrc0mmand
Copy link
Contributor

@lkundrak hey, could you please rebase this PR so it uses the fixed Travis config?

Look for "connection-uuid" instead of "managed" to determine the devices
that are actually activated with a connection and call the online hook.

This fixes the anaconda-net root mount, which utilizes the online hook.

(cherry picked from commit 79a17b0)
If the root is on network, let nm-initrd-generator create configuration
even if none was explicitly specified on the command line.

Also do the same if /tmp/net.ifaces exists, because the anaconda plugin
creates an empty file in that location in hopes that will make us
configure the network.

(cherry picked from commit 381ab6b)
Move the logic from network-legacy to common network code.

(cherry picked from commit 35efada)
The IFCFG test will make sure the network-legacy plugin keeps writing
out correct ifcfg files.

This is a separate commit so that actual changes are visible in the
following one.

(cherry picked from commit 70787ab)
If the network-manager plugin is used instead, it wouldn't write out
ifcfg files and we wouldn't have anything to check.

While at that, also enable the test.

(cherry picked from commit 2b1b3bc)
The network-manager module writes keyfiles instead of ifcfg files. Just
check whether the configuration got actually applied correctly.

(cherry picked from commit 9dfd73b)
…nager

The .did-setup files are not there. What is there is the NetworkManager
connection files.

(cherry picked from commit 393fb1a)
Copy link
Contributor

@mrc0mmand mrc0mmand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything's green. LGTM, thanks!

@mrc0mmand mrc0mmand merged commit 96976e8 into dracutdevs:RHEL-8 Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants