summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/iso/templates/grub.cfg.j2
blob: 74d7709ebc6265e21a91278ca075bc3b2b9d9d76 (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.kernel_cmdline | default([])) | join(' ') }}
  initrd /casper/initrd
}