|
@@ -0,0 +1,27 @@
|
|
|
+# This file describes the network interfaces available on your system
|
|
|
+# and how to activate them. For more information, see interfaces(5).
|
|
|
+
|
|
|
+#
|
|
|
+# This file is generated by ansible
|
|
|
+#
|
|
|
+
|
|
|
+## Host Interfaces
|
|
|
+
|
|
|
+auto lo
|
|
|
+iface lo inet loopback
|
|
|
+
|
|
|
+{%for interface in supernode_interfaces %}
|
|
|
+{% if interface.auto is defined and interface.auto %}
|
|
|
+auto {{interface.name}}
|
|
|
+{% endif %}
|
|
|
+{% if interface.hotplug is defined and interface.hotplug %}
|
|
|
+allow-hotplug {{interface.name}}
|
|
|
+{% endif %}
|
|
|
+iface {{interface.name}} {{interface.proto}} {{interface.type}}
|
|
|
+{% if interface.config is defined %}
|
|
|
+{% for config in interface.config %}
|
|
|
+ {{config.key}} {{config.value}}
|
|
|
+{% endfor %}
|
|
|
+{% endif %}
|
|
|
+
|
|
|
+{% endfor %}
|