Skip to content

Commit

Permalink
PR for Issue 155 (#156)
Browse files Browse the repository at this point in the history
- Clean-up shrapnel from the build process.
- Make sure there is a kernel installed during deployment.

Resolves: #155
  • Loading branch information
alanbach authored Nov 8, 2023
1 parent 3eb9772 commit f96da99
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ubuntu/scripts/setup-bootloader
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@

export DEBIAN_FRONTEND=noninteractive

dpkg-reconfigure grub-efi-amd64
update-grub
# Clean up remnants from packer-maas vm install
rm /var/cache/debconf/config.dat
dpkg --configure -a

apt-get -y install linux-image-generic

grub-install \
--target=x86_64-efi \
--efi-directory=/boot/efi \
--bootloader-id=ubuntu \
--recheck

update-initramfs -uk all
update-grub

0 comments on commit f96da99

Please sign in to comment.