This commit is contained in:
jonas 2021-10-26 13:32:46 +02:00
parent 0501fe3b2e
commit 5fe60ef166

View File

@ -22,11 +22,10 @@ keyUsage = digitalSignature, keyEncipherment, keyAgreement
subjectAltName = @alt_names subjectAltName = @alt_names
[req_distinguished_name] [req_distinguished_name]
CN = localhost CN = rmt.{{ pillar['network']['domain'] }}
[alt_names] [alt_names]
DNS.0 = localhost DNS.0 = rmt.{{ pillar['network']['domain'] }}
DNS.1 = rmt.{{ pillar['network']['domain'] }}
IP.0 = {{ pillar['network']['ip'] }} IP.0 = {{ pillar['network']['ip'] }}
{% for vlan in pillar['network']['vlan'] -%} {% for vlan in pillar['network']['vlan'] -%}
IP.{{ loop.index }} = {{ vlan['address'] }} IP.{{ loop.index }} = {{ vlan['address'] }}