GRUB: Do not query other disks on first setup

This commit is contained in:
Fierelier 2022-05-10 22:53:55 +02:00
parent 6fa36fc33b
commit caf71e0689

View File

@ -2,7 +2,9 @@
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