ganeti-ansible/roles/node/templates/etc-systemd-network-40-xenbr0.network.j2

10 lines
205 B
Plaintext
Raw Permalink Normal View History

2024-11-26 14:56:58 +00:00
[Match]
Name={{ bridge_name }}
[Network]
Address={{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}/24
Gateway={{ gateway }}
{% for dns in dns_servers %}
DNS={{ dns }}
{% endfor %}