Initial commit
[ta/infra-ansible.git] / roles / bootstrap-host / templates / redhat_interface_alias.cfg.j2
diff --git a/roles/bootstrap-host/templates/redhat_interface_alias.cfg.j2 b/roles/bootstrap-host/templates/redhat_interface_alias.cfg.j2
new file mode 100644 (file)
index 0000000..79a04a8
--- /dev/null
@@ -0,0 +1,5 @@
+# This interface is an alias
+DEVICE={{ item.name | default('br-mgmt') }}:0
+IPADDR={{ item.alias | default('10.1.0.1') }}
+NETMASK={{ item.netmask | default('255.255.255.0') }}
+ONBOOT=yes