#!/usr/bin/env bash set -e apt -y install cloud-utils apt -y autoclean echo "GRUB_DISABLE_OS_PROBER=true" >>/etc/default/grub grub-install --boot-directory="/boot" --modules=part_msdos "${DISK_LOOP}" update-grub sed -i 's/GRUB_DISABLE_OS_PROBER=true/# GRUB_DISABLE_OS_PROBER=true/' /etc/default/grub update-initramfs -u -k all rm /setupdisk