summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/iso/templates/grub.cfg.j2
blob: ccbc25eb9ff70fa41130c2e8ececa2ad149c53f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if loadfont $prefix/font.pf2 ; then
  set gfxmode=auto
  insmod efi_gop
  insmod efi_uga
  insmod gfxterm
  terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
set timeout=10
set default=0

menuentry "automated installer for {{ inventory_hostname }}" {
  set gfxpayload=keep
  linux  /casper/vmlinuz quiet nopersistent autoinstall "ds=nocloud;s=/cdrom/autoinstall/{{ inventory_hostname }}/" {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}
  initrd /casper/initrd
}