Add --param flag to bss boot image set to set the name of the kernel parameter the image is passed with#103
Add --param flag to bss boot image set to set the name of the kernel parameter the image is passed with#103Wafffle77 wants to merge 2 commits into
Conversation
…ame (no documentation) Signed-off-by: Ethan Clark <elclark@lanl.gov>
Signed-off-by: Ethan Clark <elclark@lanl.gov>
|
I ran for a I'm thinking we should ensure the |
|
Being able to modify arbitrary kernel cmdline args would be useful. I've opened #105 to track this. For the scope of this PR, implementing the changes above should be sufficient. |
|
Should we make the boot image parameter deletion use the --param flag as well, instead of hard coding "root"? Otherwise I think we run into the same issue you're describing where the parameter isn't properly removed, but with the name of the old image parameter instead. Would it be better to maybe scrap this PR in favor of #105 for just manipulating arbitrary parameters, since that provides the same functionality in a more flexible manner? |
Pull Request Template
Thank you for your contribution! Please ensure the following before submitting:
Checklist
make test(or equivalent) locally and all tests passgit commit -s) with my real name and email<filename>.licensesidecarLICENSES/directoryDescription
Adds a --param/-p flag to the
bss boot image setcommand to allow for using a different kernel parameter name when setting the boot image. The flag defaults to "root" so previous behavior is retained. I'll get documentation added once the behavior is confirmed to address #102 properly.Example:
Implements #102
Type of Change
For more info, see Contributing Guidelines.