diff options
Diffstat (limited to 'roles/install-grub')
-rw-r--r-- | roles/install-grub/templates/boot/grub/grub.cfg.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/install-grub/templates/boot/grub/grub.cfg.j2 b/roles/install-grub/templates/boot/grub/grub.cfg.j2 index 0440442..6cfea8f 100644 --- a/roles/install-grub/templates/boot/grub/grub.cfg.j2 +++ b/roles/install-grub/templates/boot/grub/grub.cfg.j2 @@ -1,4 +1,8 @@ +{% if grub_console == "kvm" %} +set default=0 +{% elif grub_console == "serial" %} set default=1 +{% endif %} set timeout=5 serial --unit=0 terminal_output --append serial |