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

Minor fixes for Timberland dracut #5

Closed
wants to merge 2 commits into from
Closed

Conversation

mwilck
Copy link
Collaborator

@mwilck mwilck commented Mar 9, 2023

Two minor fixes for the dracut code

Note about branches

This PR goes into the timberland_master branch, which I have used for the upstream PR dracutdevs#2184, too. That branch is going to be rebased onto upstream dracut until the upstream PR is merged.

Changes

  • suppress pointless hostname warning
  • support config.json

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #4.

mwilck added 2 commits March 9, 2023 16:55
The hostname field in the NBFT is optional. Don't print a confusing
error message 'NBFT: jq error while processing ".host_name"' if it is missing.
Since nvme-cli 2.0, configuration of subsystems to connect to is
stored under `/etc/nvme` in either `discovery.conf` or `config.json`.
Attempt discovery also if the latter exists, but not the former.

As before, "rd.nvmf.discover=fc,auto" will force either file to be ignored,
and NBFT-defined targets take precedence if found.
@mwilck
Copy link
Collaborator Author

mwilck commented Apr 18, 2023

Superseded by #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant