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

fix kernel command line for management interface #942

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

m-ildefons
Copy link
Contributor

Fix parsing management interface configuration from the kernel command line.
The parser now accepts more different specifications for the management interface, including just the systemd name for the device. Additionally, should the configuration not be parseable (e.g. due to a typo), the installer doesn't crash anymore, but rather produces a human readable error.

related-to: harvester/harvester#7470

Problem:

Solution:

Related Issue:

Test plan:

Fix parsing management interface configuration from the kernel command
line.
The parser now accepts more different specifications for the management
interface, including just the systemd name for the device.
Additionally, should the configuration not be parseable (e.g. due to a
typo), the installer doesn't crash anymore, but rather produces a human
readable error.

related-to: harvester/harvester#7470

Signed-off-by: Moritz Röhrich <[email protected]>
@m-ildefons m-ildefons added the bug Something isn't working label Jan 31, 2025
@m-ildefons m-ildefons self-assigned this Jan 31, 2025
@m-ildefons m-ildefons requested review from a110605 and albinsun and removed request for a110605 January 31, 2025 15:09
Add test case for producing a useful error when parsing management
interface details given on the kernel command line fails.

Signed-off-by: Moritz Röhrich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant