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

RFE: Add "Unattended Baremetal Installer" option #827

Open
mrguitar opened this issue Sep 13, 2024 · 4 comments · May be fixed by #1026
Open

RFE: Add "Unattended Baremetal Installer" option #827

mrguitar opened this issue Sep 13, 2024 · 4 comments · May be fixed by #1026
Assignees
Labels
kind/enhancement ✨ Issue for requesting an improvement

Comments

@mrguitar
Copy link

Is your enhancement related to a problem? Please describe

Right now the ISO option creates an automated install (that's good!). ....except when you want to make an ISO for someone else and want them to answer the anaconda spokes (users, passwords, disk layout, etc).

Describe the solution you'd like

BIB now lets us customize the installer experience, so I think it would be awesome to either have a separate "Interactive aremetal Installer" option, or better yet just have a "Baremetal Installer" option and have a radial button that can select between unattended & interactive.

Describe alternatives you've considered

I originally thought we needed a third option for advanced or custom kickstarts, but this is already covered by the Build Config window accepting TOML/JSON. Currently it's possible to create an interactive installer using this field, but I think it makes since to have a big easy button for this. Lastly, I think the default anaconda modules that are enabled are sufficient for what's needed. Others may disagree; I'm not sure.

Additional context

Under the covers this is the behavior we get when the kickstart file only includes the ostree container command. ...and Simon just wrote a nice blog post on the topic: https://supakeen.com/weblog/building-interactive-installer-bootc.html

@mrguitar mrguitar added the kind/enhancement ✨ Issue for requesting an improvement label Sep 13, 2024
@mrguitar mrguitar changed the title ISO Image installation options. RFE; Add "Unattended Baremetal Installer" option Sep 13, 2024
@mrguitar mrguitar changed the title RFE; Add "Unattended Baremetal Installer" option RFE: Add "Unattended Baremetal Installer" option Sep 13, 2024
@vrothberg
Copy link
Contributor

That sounds like a super useful addition, @mrguitar.

The installer options can be set as described in the BIB docs. @mrguitar, could you share how the exact kickstart options should look like? The same as in the docs?

Cc: @deboer-tim @cdrage @jeffmaury

@cdrage
Copy link
Contributor

cdrage commented Oct 2, 2024

@vrothberg @mrguitar Bit confused, since this is talking about kickstart.

Kickstart's are usually very convoluted / customized / a lot of information and having the entirety of that I would feel would be very complicated.

That and the fact that it's only applicable to iso's being built.

I would make the opposite approach and ask that we maybe implement the build config options as interactive? https://github.com/osbuild/bootc-image-builder?tab=readme-ov-file#-build-config

That means it applies to all image formats (qcow, raw, iso, etc.) in terms of customizations and gets us in a better position of "inject your ssh public key" into the image and then it's all happy.

Please correct me if I'm wrong though, sorry!

@cdrage
Copy link
Contributor

cdrage commented Nov 5, 2024

Hi @vrothberg @mrguitar

After discussions with @deboer-tim in a previous call, we are going to go ahead with the implementation of a way to "automatically generate build config" with pre-defined details (ssh key, user, password, etc) for build config.

Unsure if this relates to this current issue, but this is something that's been requested multiple times in slack (bootc image channel) as well as meeting discussions.

I'll continue to use this issue to keep track of the progress, but if this is unrelated, please ping me and we can open up a separate issue regarding your description / ISO process!

@cdrage cdrage moved this from 📋 Backlog to 🚧 In Progress in Podman Desktop Planning Nov 5, 2024
@cdrage cdrage moved this from 🚧 In Progress to 📋 Backlog in Podman Desktop Planning Nov 5, 2024
@vrothberg
Copy link
Contributor

After discussions with @deboer-tim in a previous call, we are going to go ahead with the implementation of a way to "automatically generate build config" with pre-defined details (ssh key, user, password, etc) for build config.

That sounds like a great feature to me.

@cdrage cdrage moved this from 📋 Backlog to 🚧 In Progress in Podman Desktop Planning Nov 6, 2024
@cdrage cdrage linked a pull request Nov 18, 2024 that will close this issue
cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Nov 18, 2024
### What does this PR do?

* Adds automated way to create a build config json file
* Added to build page

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Closes podman-desktop#827

### How to test this PR?

<!-- Please explain steps to reproduce -->

Use build config and configure / create your own custom build config
   with users, filesystem, etc.
cdrage added a commit to cdrage/podman-desktop-extension-bootc that referenced this issue Nov 18, 2024
### What does this PR do?

* Adds automated way to create a build config json file
* Added to build page

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Closes podman-desktop#827

### How to test this PR?

<!-- Please explain steps to reproduce -->

Use build config and configure / create your own custom build config
   with users, filesystem, etc.

Signed-off-by: Charlie Drage <[email protected]>
@cdrage cdrage moved this from 🚧 In Progress to 🚥 In Review in Podman Desktop Planning Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement ✨ Issue for requesting an improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants