10 lines
340 B
Bash
Executable File
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 |