grub-set-default

Set the default boot entry for GRUB. More information: <https://manned.org/grub-set-default>.

Debian Debian
RUN apt-get update && \ apt-get install -y grub2-common
Ubuntu
RUN apt-get update && \ apt-get install -y grub2-common
Alpine
RUN apk add grub
Arch Arch Linux
RUN pacman -S --noconfirm grub
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y grub2-common
CentOS
RUN yum install -y grub
Fedora
RUN dnf install -y grub2-common
Raspbian
RUN apt-get update && \ apt-get install -y grub2-common
click the source code to copy install grub-set-default on any operating system with command-not-found.com