f12b89d301e1db0c95e29d78ea3a1f6cde13ae4f
[mirror/dsa-puppet.git] / modules / grub / templates / etc-default-grub.erb
1 # If you change this file, run 'update-grub' afterwards to update
2 # /boot/grub/grub.cfg.
3 # For full documentation of the options in this file, see:
4 #   info -f grub -n 'Simple configuration'
5
6 GRUB_DEFAULT=0
7 GRUB_TIMEOUT=5
8 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
9 GRUB_CMDLINE_LINUX_DEFAULT="quiet"
10 <%- if scope.lookupvar('::debarchitecture') == "arm64" -%>
11 GRUB_CMDLINE_LINUX="console=ttyAMA0,115200n8"
12 <% else -%>
13 GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
14 <%- end -%>
15
16 # Uncomment to enable BadRAM filtering, modify to suit your needs
17 # This works with Linux (no patch required) and with any kernel that obtains
18 # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
19 #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
20
21 # Uncomment to disable graphical terminal (grub-pc only)
22 #GRUB_TERMINAL=console
23
24 # The resolution used on graphical terminal
25 # note that you can use only modes which your graphic card supports via VBE
26 # you can see them in real GRUB with the command `vbeinfo'
27 #GRUB_GFXMODE=640x480
28
29 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
30 #GRUB_DISABLE_LINUX_UUID=true
31
32 # Uncomment to disable generation of recovery mode menu entries
33 #GRUB_DISABLE_RECOVERY="true"
34
35 # Uncomment to get a beep at grub start
36 #GRUB_INIT_TUNE="480 440 1"
37 GRUB_TERMINAL="serial console"
38 GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"