From e273477b56d8e08ad1eb288d79e60c491df3c887 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 23 Nov 2017 01:12:59 +0100 Subject: vm install role basically works now - needs cleanup and testing --- roles/vm-grub/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/vm-grub/tasks/main.yaml') 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 - + -- cgit v1.2.3