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

Add a streamlined system-reinstall-bootc or so binary #1054

Open
cgwalters opened this issue Jan 23, 2025 · 1 comment
Open

Add a streamlined system-reinstall-bootc or so binary #1054

cgwalters opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
area/install Issues related to `bootc install` area/install-to-existing-root Relates to to-existing-root enhancement New feature or request

Comments

@cgwalters
Copy link
Collaborator

High level goal: Streamline the "install from existing (cloud) instance" flow. Previous work related to this landed in e.g. #919 but we want to make it even easier.

This command will become a frontend for the current podman run <image> bootc install to-existing-root and it will be a little bit more of an "installer". For example it may have a TUI (ncurses style?).

An important goal of this command is to ensure that the admin can SSH into the new instance by default, which may involve automatically propagating things like SSH credentials (which we don't do by default with to-existing-root). It may also make sense to propagate SSH host keys.

Sub-goal: Don't become a full installer

This command should not become a "full" installer, in particular at the moment out of scope are:

  • repartitioning
  • adding users/groups that don't already exist
  • In general most things covered by kickstart/blueprints/etc (timezone, networking, locale...)
  • Running arbitrary %post type scripts

Networking and partitioning are the two biggest things and I think people who want that stuff should use externally maintained OS installers (e.g. anaconada) that should be invoking bootc install to-filesystem as part of doing their setup.

@cgwalters cgwalters added area/install Issues related to `bootc install` area/install-to-existing-root Relates to to-existing-root enhancement New feature or request labels Jan 23, 2025
@cgwalters
Copy link
Collaborator Author

adding users/groups that don't already exist

This all said, we could probably make it streamlined to run systemd-firstboot against the target root before rebooting, and it looks like that command has things like --copy-locale etc. today too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install` area/install-to-existing-root Relates to to-existing-root enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants