Files
ansible/proxmox/templates/ceph.interfaces.j2
2025-07-31 00:12:27 +03:00

15 lines
363 B
Django/Jinja

# {{ ansible_managed }}
# ifupdown interfaces(5) file for setting up CEPH network
# Real routing is handled by FRR routing daemon
auto lo
iface lo inet loopback
up ip -6 addr add {{ ceph_mesh.address }} dev lo
{% for iface in ceph_mesh.interfaces %}
auto {{ iface }}
iface {{ iface }} inet6 static
pre-up ip link set $IFACE up
mtu 9000
{% endfor %}