Skip to content
This repository has been archived by the owner. It is now read-only.

Cannot configure the network settings used in the initramfs #981

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

Cannot configure the network settings used in the initramfs #981

crawford opened this issue Nov 13, 2015 · 5 comments

Comments

@crawford
Copy link
Member

@crawford 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
Copy link

@FirefighterBlu3 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
Copy link
Member Author

@crawford crawford commented Feb 26, 2016

Nothing yet, but this is good feedback.

@FirefighterBlu3
Copy link

@FirefighterBlu3 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.

@ghost
Copy link

@ghost ghost commented Mar 23, 2016

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

@crawford
Copy link
Member Author

@crawford 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.