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

Cannot configure the network settings used in the initramfs #981

Closed
crawford opened this Issue Nov 13, 2015 · 5 comments

Comments

@crawford
Member

crawford commented Nov 13, 2015

Following up from #212, operators need to be able to configure the network used in the initramfs. In this particular case, having DHCP enabled on all interfaces is causing a problem.

@FirefighterBlu3

This comment has been minimized.

FirefighterBlu3 commented Feb 26, 2016

any further followup on being able to control network in initramfs? i'm pxe booting and i want my initial dhcp to have a vendor class identifier so i can control what IPs these clients get prior to fetching cloud config.

@crawford

This comment has been minimized.

Member

crawford commented Feb 26, 2016

Nothing yet, but this is good feedback.

@FirefighterBlu3

This comment has been minimized.

FirefighterBlu3 commented Feb 27, 2016

if ignition can notice that ip=<foo...> and bootif=<foo...> has been set on the kernel command line and use that for our initial network setting as a dhcp renew function, that'd be just perfect.

@urzds

This comment has been minimized.

urzds commented Mar 23, 2016

cloud-config supports *.network systemd units (which it places under .../systemd/network, apparently). Would that also solve this issue?

@crawford

This comment has been minimized.

Member

crawford commented Mar 23, 2016

@urzds no. Ignition supports the exact same feature, but this applies to the post-pivoted system, not the initramfs. And since the network is potentially required to fetch the config in the first place, we inherently cannot supply this information via the Ignition config. It will need to come from the kernel command line parameters.

@crawford crawford added this to the CoreOS Alpha 1193.0.0 milestone Sep 20, 2016

@dm0- dm0- self-assigned this Sep 22, 2016

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