Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[revived] Leapp initram networking poc #960
[revived] Leapp initram networking poc #960
Changes from all commits
68e7251
0f1e991
b58a1bb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that in general, you'd want these regenerated&executed with updated dracut, which also runs them - otherwise I'd rather use the ones from the updated package:
They also expect
/lib/nm-lib.sh
to exist (should be updated from the same directory).But you should be able to bring up the system with either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you'd prefer that we substitute L199-L200 with
, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's what I assume, I've not tried it exists in the initrd... but I suppose it does. Let me know if you encounter issues, I'll investigate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pvalena hmmm I have tried that on rhel8 vagrant box and got an early fail in initram stage http://pastebin.test.redhat.com/1077800
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, let me check where the files live, when in the initrd.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the locations are indeed where the files are installed in the initrd.
IIUC:
target
Initqueue settled
means:This hook (initqueue/settled) gets executed every time udev has settled.
(I'm sorry If I've missed something, I still need to take a look at the reproducer.)
In that case it would make sense to run those paths you had originally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pvalena not sure I understand it right, but, will it work on systems where the network manager is not used?Update: ignore the question. I see the whole code now :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the
ifup
should do that.... TBH I'm not all that familiar with legacy networking, so I hope it's sufficient :).