bifrost/deploy/templates/interfaces.j2
Julia Kreger 3789eea86e An initial framework for deployment
An initial framework for deployment.  As the os_ironic_node module
has not yet been written, the actual deployment step is commented
out.  That being said, configdrive files are generated utilizing
the supplied data.
2015-03-02 15:38:41 -05: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 }}