This file is indexed.

/etc/maas/templates/uefi/config.local.amd64.template is in maas-rack-controller 2.0.0~beta3+bzr4941-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/shimx64.efi
    chainloader /efi/ubuntu/shimx64.efi
    {{endif}}
}