update ceph-common to 10.2.11-0ubuntu0.16.04.2
[yaml_builds.git] / site_type / sriov / templates / baremetal / rack.j2
index 25ddcde..d265d78 100644 (file)
@@ -52,8 +52,12 @@ data:
   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 %}
 ---
@@ -94,8 +98,11 @@ data:
   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 %}
 ...
-