Code Review
/
yaml_builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enable additional kernel param options
[yaml_builds.git]
/
site_type
/
sriov
/
templates
/
baremetal
/
rack.j2
diff --git
a/site_type/sriov/templates/baremetal/rack.j2
b/site_type/sriov/templates/baremetal/rack.j2
index
25ddcde
..
d265d78
100644
(file)
--- a/
site_type/sriov/templates/baremetal/rack.j2
+++ b/
site_type/sriov/templates/baremetal/rack.j2
@@
-52,8
+52,12
@@
data:
platform:
kernel_params:
{% for key, value in yaml.platform.kernel_params.items() %}
platform:
kernel_params:
{% for key, value in yaml.platform.kernel_params.items() %}
- {{key}}: {{value}}
-{% endfor %}{% endif %}
+ {{key}}: '{{value}}'
+{% endfor %}
+{% if 'vcpu_pin_set' in yaml.platform %}
+ isolcpus: '{{yaml.platform.vcpu_pin_set}}'
+{% endif %}
+{% endif %}
{% endfor %}
{% if 'workers' in yaml %}{% for server in yaml.workers %}
---
{% endfor %}
{% if 'workers' in yaml %}{% for server in yaml.workers %}
---
@@
-94,8
+98,11
@@
data:
platform:
kernel_params:
{% for key, value in yaml.platform.kernel_params.items() %}
platform:
kernel_params:
{% for key, value in yaml.platform.kernel_params.items() %}
- {{key}}: {{value}}
-{% endfor %}{% endif %}
+ {{key}}: '{{value}}'
+{% endfor %}
+{% if 'vcpu_pin_set' in yaml.platform %}
+ isolcpus: '{{yaml.platform.vcpu_pin_set}}'
+{% endif %}
+{% endif %}
{% endfor %}{% endif %}
...
{% endfor %}{% endif %}
...
-