| Summary: | bkr system-provision ignores kernel_option defaults | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Bill Peck <bpeck> |
| Component: | command line | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.6 | CC: | bpeck, dcallagh, mcsontos, rmancy, stl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 05:16:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Bill Peck
2011-05-02 20:03:16 UTC
Should we have the ks_meta, kernel_options, and kernel_options_post arguments override the system defaults? That way if the caller doesn't specify any kernel options we will use the defaults for that distro on the system. We already have some logic to handle this: the System.install_options method (model.py:1827) takes ks_meta, kernel_options, and kernel_options_post arguments. The XML-RPC method could just call that and pass in the appropriate values. Yes they should go through system.install_options(). That code handles inheritance of options and allows options to be removed by adding !console for example to undefine console=ttyS0. But to be clear, we are not overriding the defaults, we are modifying them. If you specify kernel_options="my_cmd_line_arg=foo" and the system kernel_options have console=ttyS0,115200 ksdev=eth0 You will end up with console=ttyS0,115200 ksdev=eth0 my_cmd_line_arg=foo Make sense? Hello, Your ticket is ready for testing and is currently running on https://beaker-stage.app.eng.bos.redhat.com Please ensure your request for beaker has been adequately addressed by testing it on the above machine. Testing will be available up until COB on the 20th April. Thank you Beaker development team |