Initial commit
[ta/infra-ansible.git] / roles / bootstrap-host / templates / redhat_interface_default.cfg.j2
diff --git a/roles/bootstrap-host/templates/redhat_interface_default.cfg.j2 b/roles/bootstrap-host/templates/redhat_interface_default.cfg.j2
new file mode 100644 (file)
index 0000000..416bfbe
--- /dev/null
@@ -0,0 +1,11 @@
+{% if item.veth_peer is defined %}
+# This interface has a veth peer
+{% endif %}
+DEVICE={{ item.name | default('br-mgmt') }}
+TYPE=Bridge
+IPADDR={{ item.ip_addr | default('10.1.0.1') }}
+NETMASK={{ item.netmask | default('255.255.255.0') }}
+ONBOOT=yes
+BOOTPROTO=none
+NM_CONTROLLED=no
+DELAY=0