opencomputeproject / onie

Open Network Install Environment
https://opencomputeproject.github.io/onie
Other
606 stars 376 forks source link

Append warning message to GRUB menu "ONIE: Install OS" #1066

Open david56 opened 2 months ago

david56 commented 2 months ago

If you go into "ONIE: Install OS" option it will screw up the boot order of the box, and automatically always boot into ONIE instead of the pre-installed NOS. This is a problem and not user friendly, and there should be a warning message in the window, that alerts you that clicking that menu option will reset the boot order. The boot order will not boot into the NOS, until you install a new OS.

mshych commented 2 months ago

Hi, It can be not so good to make globally for all systems.

  1. It's possible that some users already have automation and expect specific output.
  2. This warning is not so relevant for systems with UEFI boot, where boot order is defined by efiboot entries. You can overwrite grub config for your specific system, e.g. ./machine/manufacturer/system/rootconf/grub/grub-common.cfg