瀏覽代碼

Always include grub.sls

Change-Id: If1bbd97b5719c53193f6287c4a025e6ef0dafbb0
Related-Prod: PROD-18386
pull/170/head
Dmitry Teselkin 6 年之前
父節點
當前提交
f1c123ca5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      linux/system/kernel.sls

+ 1
- 1
linux/system/kernel.sls 查看文件

@@ -8,10 +8,10 @@
{%- do kernel_boot_opts.append('elevator=' ~ system.kernel.elevator) if system.kernel.elevator is defined %}
{%- do kernel_boot_opts.extend(system.kernel.boot_options) if system.kernel.boot_options is defined %}

{%- if kernel_boot_opts %}
include:
- linux.system.grub

{%- if kernel_boot_opts %}
/etc/default/grub.d/99-custom-settings.cfg:
file.managed:
- contents: 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT {{ kernel_boot_opts|join(' ') }}"'

Loading…
取消
儲存