Feature #410
closedEliminate the interface mismatch prompt and try to do the right thing automatically
0%
Description
Especially for embedded platforms, I think it would be useful to completely do away with the interface mismatch screen on the console and try to work things out automatically in some way, if possible. There shouldn't be any loss of functionality by trying to do it automatically, since the assign interfaces option on the console menu does the exact same thing. This would eliminate most cases for needing to use the serial console on nanobsd or a monitor and keyboard on others. Upon encountering an interface mismatch it should probably write some flag to a file that will be cleared at a successful startup, to show the interface mismatch prompt at the next boot if the flag isn't cleared, in case it can't boot from the automatic configuration for any reason.
Some ideas related to the case where there is already an existing configuration and physical interfaces have been changed or removed, causing there to be not enough interfaces to fill the slots. These would only be used after all new interfaces have been assigned to the slots where the interfaces disappeared. In either case, the web gui should probably inform the user of this so they can fix it (though maybe not require fixing it?).
1) If there is any kind of virtual interface that could be assigned kind of like a "none" option, it would be useful to allow preserving the configuration of the remaining slots where interfaces disappeared.
2) If referring to a non-existant interface would be ok, maybe just leave it alone if there aren't any remaining interfaces to fill it.