Provide warning when switching between distributions
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 230
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 38
Description
Bootc is available on RHEL, CentOS and Fedora, and I recently accidentally `bootc switch`ed a server from Fedora to CentOS resulting in a broken system (emergency mode in AWS so couldn't change in the grub menu [1]), it would be good if somehow Bootc could detect when you're switching from one distribution to another and provide an appropriate warning.
This was completely my fault, and this operation isn't something I would expect bootc to work with, however a warning or error would help prevent others from making this same mistake.
[1] It's highly likely you can switch to the older grub boot entry from emergency mode, but it's not obvious how to do so (not Bootc's problem though), and the serial console is only available on the more expensive instance types
Contributor guide
Assessment
This issue has not been assessed yet.