Make sure serial-console doesn't fail on non-efi boxes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
c1aeb1c753
commit
873dda5608
1 changed files with 2 additions and 0 deletions
|
@ -6,12 +6,14 @@
|
|||
register: serial
|
||||
check_mode: no
|
||||
changed_when: '1 != 1'
|
||||
failed_when: '1 != 1'
|
||||
tags:
|
||||
- serial-console
|
||||
|
||||
- name: set grub to use serial console
|
||||
command: /sbin/grubby --update-kernel=ALL --args="console=tty0 console=ttyS0,115200"
|
||||
when: serial is defined and serial.stdout.find("console=tty0 console=ttyS0,115200") == -1
|
||||
failed_when: '1 != 1'
|
||||
tags:
|
||||
- serial-console
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue