Commit c3454365 authored by 神楽坂玲奈's avatar 神楽坂玲奈

Update fast-again.yml

parent c190dc2e
Pipeline #20550 passed with stage
in 16 minutes and 15 seconds
......@@ -10,16 +10,7 @@
path: /etc/default/grub
marker: '# {mark} MyCard Init block'
block: |
MYCARD_INIT_KERNEL_PARAMS=""
## add make-linux-fast-again params
MAKE_LINUX_FAST_AGAIN_PARAMS="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"
MYCARD_INIT_KERNEL_PARAMS="$MYCARD_INIT_KERNEL_PARAMS $MAKE_LINUX_FAST_AGAIN_PARAMS"
{% for param in kernel_params %}
## add custom param {{param}}
MYCARD_INIT_KERNEL_PARAMS="$MYCARD_INIT_KERNEL_PARAMS {{param}}"
{% endfor %}
## set params
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $MYCARD_INIT_KERNEL_PARAMS"
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT mitigations=off tsx=on init_on_alloc=0 {{ kernel_params | join(' ') }}"
register: grub_block_result
- name: update-grub
become: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment