diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-02-03 04:36:37 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-02-03 04:36:37 +0100 |
commit | 3c09e7d93d34f1fee49e5fc90f9f1f089c5ac33a (patch) | |
tree | fff2a37727b6990fcb55a9b1c8ecfb21a46b6b44 /roles/base/tasks | |
parent | ele-thetys basic install works now (diff) |
merge linux command line support from realraum repo
Diffstat (limited to 'roles/base/tasks')
-rw-r--r-- | roles/base/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 767fd7fa..d9777ed1 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -88,3 +88,11 @@ apt: name: "{{ base_packages_extra_host | union(base_packages_extra_group) }}" state: present + +- name: set kernel command line options + lineinfile: + path: /etc/default/grub + regexp: '^#?GRUB_CMDLINE_LINUX=' + line: 'GRUB_CMDLINE_LINUX="{{ install.kernel_cmdline | join(" ") }}"' + when: install is defined and install.kernel_cmdline is defined + notify: update grub |