Replace hardcoded profile name with _TUNED_PROFILE_NAME_
The *-variables.conf file for tuned is hardcoded for the profile "cpu-partitioning", which makes other profiles fail, that also need the isolated_cores variable. Change-Id: Iaeedfe5d7c501453fd2039b81c1603eff6125ebf
This commit is contained in:
parent
33a254cacb
commit
dc8a61b7b4
@ -26,7 +26,7 @@
|
||||
- block:
|
||||
- name: Tune-d Configuration
|
||||
lineinfile:
|
||||
dest: /etc/tuned/cpu-partitioning-variables.conf
|
||||
dest: /etc/tuned/{{ _TUNED_PROFILE_NAME_ }}-variables.conf
|
||||
regexp: '^isolated_cores=.*'
|
||||
line: 'isolated_cores={{ _TUNED_CORES_ }}'
|
||||
when: _TUNED_CORES_|default("") != ""
|
||||
|
Loading…
Reference in New Issue
Block a user