windvn/input/stage99/setupdisk
2022-05-10 22:53:55 +02:00

10 lines
340 B
Bash
Executable File

#!/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