Configure target for GRUB installationΒΆ

For a full list of keys, refer to the GRUB dpkg module schema.

1#cloud-config
2grub_dpkg:
3  enabled: true
4  # BIOS mode (install_devices needs disk)
5  grub-pc/install_devices: /dev/sda
6  grub-pc/install_devices_empty: false
7  # EFI mode (install_devices needs partition)
8  grub-efi/install_devices: /dev/sda