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

Document on how to embed the Ignition file into the ISO for bare-metal installations #245

Closed
rugk opened this issue Feb 6, 2021 · 2 comments · Fixed by #355
Closed

Document on how to embed the Ignition file into the ISO for bare-metal installations #245

rugk opened this issue Feb 6, 2021 · 2 comments · Fixed by #355

Comments

@rugk
Copy link
Contributor

rugk commented Feb 6, 2021

Maybe related to #117 and I actually found the solution here, but you should document on how to do a bare-metal installation without the HTTP server requirement for serving an ignition file.

Use case: I just want a simple bare-metal installation. No web server. No fancy stuff.

Currently

This here only explains the way we used to use in CD/DVD times, possibly, i.e. to burn an ISO image to a disk, boot the device and then on the device run a command to get the Ignition config to provision the device.
However, in times of USB sticks this is not really necessary anymore. You'd just place it on the thumb drive too and then embed it via --ignition-file… or better just directly embed it into the ISO with coreos-installer iso ignition embed.

IMHO the advertised way for bare metal installations with a web server is more cumbersome than it needs to be.

@bgilbert
Copy link
Contributor

bgilbert commented Feb 9, 2021

We should document it, but we need to make it usable first. The Ignition config embedded by coreos-installer iso ignition embed is for the boot of the live system, not the boot of the installed system. Currently, if you want to embed a config for the installed system, you need to add it as a file in the config for the live system, and then override coreos-installer.service to pass --ignition-file. That works, and we partially document it upstream, but it's too complex for common use.

Note, though, that installation via ISO is intended for one-off installs and for installation via LOM virtual CD media, not for typical installation at scale. For the latter case, installing via PXE is much more flexible and customizable than going around to each machine with a USB stick.

@rugk
Copy link
Contributor Author

rugk commented Feb 9, 2021

Oh ok then I misunderstood that. Thanks for the information.
Also yeah, PXE is nice, but for a few machines, ISO is also good enough and this way would be useful.

@bgilbert bgilbert linked a pull request Feb 13, 2022 that will close this issue
bgilbert added a commit that referenced this issue Feb 17, 2022
Get rid of the manual configuration cruft.  De-emphasize the distinction
between live and dest Ignition configs, since users won't have to care
about that as much.

Fixes #245.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants