Skip to content

grub: drop default rd.neednet=1 ip=dhcp,dhcp6 kargs - #1298

Closed
jlebon wants to merge 1 commit into
coreos:masterfrom
jlebon:pr/drop-default-kargs
Closed

jlebon wants to merge 1 commit into
coreos:masterfrom
jlebon:pr/drop-default-kargs

Conversation

@jlebon

@jlebon jlebon commented Mar 30, 2020

Copy link
Copy Markdown
Member

We want to move to a model where networking isn't unconditionally
brought up, but instead only if Ignition requires it.

But I think we'll still have to keep supporting
ignition_network_kcmdline since it's kind of part of our API now that
it can be overridden via ignition.firstboot.

Works with:
coreos/fedora-coreos-config#321
coreos/ignition-dracut#164
coreos/ignition#956

We want to move to a model where networking isn't unconditionally
brought up, but instead only if Ignition requires it.

But I think we'll still have to keep supporting
`ignition_network_kcmdline` since it's kind of part of our API now that
it can be overridden via `ignition.firstboot`.

Works with:
coreos/fedora-coreos-config#321
coreos/ignition-dracut#164
coreos/ignition#956
@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlebon

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

The pull request process is described here

Details 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

Comment thread src/grub.cfg
set ignition_firstboot=""
if [ -f "/ignition.firstboot" ]; then
# default to dhcp networking parameters to be used with ignition
set ignition_network_kcmdline='rd.neednet=1 ip=dhcp,dhcp6'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Who will inject this default later on, and how will overriding work?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Answering to myself: the whole plan is at coreos/fedora-coreos-tracker#460.

@jlebon

jlebon commented Apr 20, 2020

Copy link
Copy Markdown
Member Author

Closing in favour of #1373.

@jlebon jlebon closed this Apr 20, 2020
@jlebon
jlebon deleted the pr/drop-default-kargs branch July 6, 2020 20:32
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.

3 participants