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

Improve observability of ISO/PXE customizations #765

Open
bgilbert opened this issue Jan 30, 2022 · 0 comments
Open

Improve observability of ISO/PXE customizations #765

bgilbert opened this issue Jan 30, 2022 · 0 comments

Comments

@bgilbert
Copy link
Contributor

Feature Request

Desired Feature

At the moment there's no way to inspect a customized ISO image or initramfs to get a concise summary of what's been customized. For an ISO image, a user can only iso reset and start over; while for a PXE image, they can't even reset, and need to rebuild from a pristine image.

Consider adding e.g. iso describe and pxe describe commands that summarize the customizations in an image.

Similarly, customized images could log a summary of the customizations to the journal during the live boot, for post-boot diagnosis. It may also make sense for the (first) installed boot to summarize the customizations as well, or the relevant subset of them.

Other Information

We probably don't want to try to programmatically decompile the various configs in an image. However, we could generate a human-readable summary during customization, and embed it as a file in the generated Ignition config(s) along with a systemd service that dumps it to the journal. The describe commands could just extract and display that file, with fallbacks for older customized images and those customized with the lower-level iso ignition/iso network/etc. commands.

We'd also need to figure out what information would be useful to include in the human-readable summary.

Suggested by @control-d (describe commands) and @dustymabe (journal entries).

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

No branches or pull requests

1 participant