diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-11-23 01:12:59 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-11-23 01:12:59 +0100 |
commit | e273477b56d8e08ad1eb288d79e60c491df3c887 (patch) | |
tree | f930b32b01cbe386808a87b9e1ea7c22713cbe6c /roles/vm-grub/tasks | |
parent | added inital role vm-host (diff) |
vm install role basically works now - needs cleanup and testing
Diffstat (limited to 'roles/vm-grub/tasks')
-rw-r--r-- | roles/vm-grub/tasks/main.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/vm-grub/tasks/main.yaml b/roles/vm-grub/tasks/main.yaml index 2bb09811..970cd9b4 100644 --- a/roles/vm-grub/tasks/main.yaml +++ b/roles/vm-grub/tasks/main.yaml @@ -1,5 +1,5 @@ --- -- name: disable recovery mode +- name: enable serial console in grub and for kernel lineinfile: dest=/etc/default/grub regexp={{ item.regexp }} line={{ item.line }} with_items: - { 'regexp': '^GRUB_TIMEOUT=', 'line': 'GRUB_TIMEOUT=2' } @@ -7,4 +7,4 @@ - { 'regexp': '^GRUB_TERMINAL=', 'line': 'GRUB_TERMINAL=serial' } - { 'regexp': '^GRUB_SERIAL_COMMAND=', 'line': 'GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"' } notify: update grub - + |