bifrost/roles/bifrost-configdrives/templates/interfaces.j2
Julia Kreger 195245b98e Cleanup required for deploy role changes to function
Moved template file locations to the correct role.

Corrected syntax error in deploy.yaml.

Removed "templates/" path from template entires as it is not
required when using a role.

Added fact collection into roles where required as passing vars
between roles does not seem clean nor maintainable in the long run.
2015-03-16 12:56:26 -04:00

11 lines
310 B
Django/Jinja

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto {{ node_default_network_interface }}
iface {{ node_default_network_interface }} inet static
address {{ item.split(',')[11] }}
netmask {{ ipv4_subnet_mask }}
gateway {{ ipv4_gateway }}
dns-nameservers {{ ipv4_nameserver }}