You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hard_disks_base_profile.json.j2 624B

7 jaren geleden
12345678910111213141516171819202122
  1. [
  2. {% for hd in hard_disks %}
  3. {% set first_device = (hard_disks | first) == hd %}
  4. {
  5. "device": "{{hd.device}}",
  6. "name": "{{hd.name}}",
  7. "label_type": "{{ _partitioning_base_profile.label_type }}",
  8. "partitions": [
  9. {% if first_device and _partitioning_base_profile.partitions_first_device is defined %}
  10. {% for part in _partitioning_base_profile.partitions_first_device %}
  11. {{part}},
  12. {% endfor %}
  13. {% endif %}
  14. {% if _partitioning_base_profile.partitions is defined %}
  15. {% for part in _partitioning_base_profile.partitions %}
  16. {{part}},
  17. {% endfor %}
  18. {% endif %} #}
  19. ]
  20. },
  21. {% endfor %}
  22. ]