grub-set-default-legacy-ec2

Handles update-grub for ec2 instances

Ubuntu
RUN apt-get update && \ apt-get install -y grub-legacy-ec2
click the source code to copy install grub-set-default-legacy-ec2 on any operating system with command-not-found.com