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

qemu: Automatically inject serial console karg into ISO #1638

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Aug 4, 2020

Now that we support injecting kernel arguments in the ISO, let's make
use of it by default when booting a live ISO to inject the appropriate
serial console karg. This is more convenient for manual testing (because
one no longer has to interrupt the boot process to type it in), but also
has the major advantage of ISO tests now being able to capture console
output.

In the future, we can also hook up the --kargs option to this.

Now that we support injecting kernel arguments in the ISO, let's make
use of it by default when booting a live ISO to inject the appropriate
serial console karg. This is more convenient for manual testing (because
one no longer has to interrupt the boot process to type it in), but also
has the major advantage of ISO tests now being able to capture console
output.

In the future, we can also hook up the `--kargs` option to this.
@jlebon
Copy link
Member Author

jlebon commented Aug 4, 2020

Requires #1637 and coreos/coreos-installer#341 to get the benefits, but the code itself could be merged beforehand too (it'll just print a warning until the remaining pieces are in place).

Copy link
Contributor

@darkmuggle darkmuggle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Straightforward. Make sense.

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: darkmuggle, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 2a7f32f into coreos:master Aug 6, 2020
@jlebon jlebon deleted the pr/iso-kargs-default branch April 22, 2023 23:35
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.

4 participants