Skip to content

Commit

Permalink
fix: remove unneeded quotes when updating kernel cmdline
Browse files Browse the repository at this point in the history
Remove unneeded quotes when running grubby to update
kernel cmdline.

Fixes: #775

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
  • Loading branch information
mmartinv authored and michalskrivanek committed Jan 2, 2024
1 parent 12af746 commit 8d47cd7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- grubby
- --update-kernel=ALL
- --remove-args
- "'{{ host_deploy_kernel_cmdline_old }}'"
- "{{ host_deploy_kernel_cmdline_old }}"
when: host_deploy_kernel_cmdline_old is defined and host_deploy_kernel_cmdline_old

- name: Adding new kernel arguments
Expand All @@ -35,5 +35,5 @@
- grubby
- --update-kernel=ALL
- --args
- "'{{ host_deploy_kernel_cmdline_new }}'"
- "{{ host_deploy_kernel_cmdline_new }}"
when: host_deploy_kernel_cmdline_new is defined and host_deploy_kernel_cmdline_new

0 comments on commit 8d47cd7

Please sign in to comment.