summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/usb/templates/grub.cfg.j2
blob: 6ba4e6be793235a0e766462616d3c8ed07b09005 (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 autoinstall "ds=nocloud;s=/cdrom/autoinstall/" {{ (install_cooked.kernel_cmdline | default([])) | join(' ') }}
	initrd /casper/initrd
}