Sha256: bdbf23c71bf8d90f0ca92011aa21d05975b33ba8d6ea11c45fb1edd5b0840482

Contents?: true

Size: 669 Bytes

Versions: 144

Compression:

Stored size: 669 Bytes

Contents

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

<% network_number_of_ports.to_i.times do |port| %>
# The primary network interface
auto <%= "eth#{port}" %>
iface <%= "eth#{port}" %> inet static
        address <%= network_interfaces[port][:address] %>
        netmask <%= network_interfaces[port][:netmask] %>
        broadcast <%= network_interfaces[port][:broadcast] %>
        <%= "gateway #{network_gateway}" if port == 0 %>
        <%= "dns-nameservers #{network_dns_nameservers}" if port == 0 %>

<% end %>

Version data entries

144 entries across 144 versions & 5 rubygems

Version Path
deprec-2.0.4 lib/deprec/templates/network/interfaces.erb
deprec-2.0.2 lib/deprec/templates/network/interfaces.erb
deprec-2.0.9 lib/deprec/templates/network/interfaces.erb
deprec-2.0.7 lib/deprec/templates/network/interfaces.erb