/usr/lib/python3/dist-packages/provisioningserver/templates/uefi/config.local.amd64.template is in python3-maas-provisioningserver 2.4.0~beta2-6865-gec43e47e6-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | set default="0"
set timeout=0
menuentry 'Local' {
echo 'Booting local disk...'
{{if kernel_params.osystem == "windows"}}
search --set=root --file /efi/Microsoft/Boot/bootmgfw.efi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
{{else}}
search --set=root --file /efi/ubuntu/grubx64.efi
chainloader /efi/ubuntu/grubx64.efi
{{endif}}
}
|