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
andyh-deprec-1.99.26 lib/deprec/templates/network/interfaces.erb
andyh-deprec-1.99.27 lib/deprec/templates/network/interfaces.erb
isaac-deprec-1.99.30 lib/deprec/templates/network/interfaces.erb
isaac-deprec-1.99.32 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.088 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.087 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc16 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc15 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.086 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.085 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.084 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.083 lib/deprec/templates/network/interfaces.erb
le1t0-deprec-2.1.6.082 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc13 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc12 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc11 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc10 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc9 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc8 lib/deprec/templates/network/interfaces.erb
deprec-3.1.0.rc7 lib/deprec/templates/network/interfaces.erb