Add Proxmox Ceph mesh network playbook
This commit is contained in:
15
proxmox/templates/ceph.interfaces.j2
Normal file
15
proxmox/templates/ceph.interfaces.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
# {{ 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 %}
|
Reference in New Issue
Block a user