update-grub-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 update-grub-legacy-ec2 on any operating system with command-not-found.com