Use short names in PVC configs

This commit is contained in:
2023-09-01 15:42:23 -04:00
parent 157c56fd46
commit c35c58389d
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ pvc:
debug: False
coordinators:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname }}
- {{ node.hostname.split('.')[0] }}
{% endfor %}
# api: Configuration of the API listener
api:
@ -61,7 +61,7 @@ pvc:
# uses the list of coordinators
storage_hosts:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname }}
- {{ node.hostname.split('.')[0] }}
{% endfor %}
# storage_domain: The storage domain name, concatenated with the coordinators list names
# to form monitor access strings