Skip to content

Commit c324054

Browse files
committed
Fix template quotations
1 parent 6de6d32 commit c324054

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[pci]
22
{% for item in gpu_group_map | dict2items | map(attribute='value') | flatten | unique | list %}
3-
alias = { "vendor_id":{{ stackhpc_gpu_data[item].vendor_id }}, "product_id":{{ stackhpc_gpu_data[item].product_id }}, "device_type":{{ stackhpc_gpu_data[item].device_type }}, "name":{{ stackhpc_gpu_data[item].resource_name }} }
3+
alias = { "vendor_id":"{{ stackhpc_gpu_data[item].vendor_id }}", "product_id":"{{ stackhpc_gpu_data[item].product_id }}", "device_type":"{{ stackhpc_gpu_data[item].device_type }}", "name":"{{ stackhpc_gpu_data[item].resource_name }}" }
44
{% endfor %}

etc/kayobe/kolla/config/nova/nova-compute.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% endif %}
88
{% endfor %}
99
{% for item in gpu_list | flatten | unique %}
10-
device_spec = { "vendor_id":{{ stackhpc_gpu_data[item].vendor_id }}, "product_id":{{ stackhpc_gpu_data[item].product_id }} }
11-
alias = { "vendor_id":{{ stackhpc_gpu_data[item].vendor_id }}, "product_id":{{ stackhpc_gpu_data[item].product_id }}, "device_type":{{ stackhpc_gpu_data[item].device_type }}, "name":{{ stackhpc_gpu_data[item].resource_name }} }
10+
device_spec = { "vendor_id":"{{ stackhpc_gpu_data[item].vendor_id }}", "product_id":"{{ stackhpc_gpu_data[item].product_id }}" }
11+
alias = { "vendor_id":"{{ stackhpc_gpu_data[item].vendor_id }}", "product_id":"{{ stackhpc_gpu_data[item].product_id }}", "device_type":"{{ stackhpc_gpu_data[item].device_type }}", "name":"{{ stackhpc_gpu_data[item].resource_name }}" }
1212
{% endfor %}
1313
{% endraw %}

0 commit comments

Comments
 (0)