Sha256: 97fdb40c0186614c97ae3b19b34d80acd118314269e633950ea49725a7650d5a

Contents?: true

Size: 325 Bytes

Versions: 47

Compression:

Stored size: 325 Bytes

Contents

[Match]
Name=<%= networks[0][:device] %>

[Network]
<%- gateway = nil %>
<%- networks.each do |net| %>
<%-   if net[:type] == 'dhcp' %>
DHCP=yes
<%-   elsif net[:ip] %>
Address=<%= net[:ip] %>/<%= net[:netmask] %>
<%-   end %>
<%-   gateway ||= net[:gateway] %>
<%- end %>
<%- if gateway %>
Gateway=<%= gateway %>
<%- end %>

Version data entries

47 entries across 43 versions & 5 rubygems

Version Path
vagrant-unbundled-2.3.6.0 templates/guests/gentoo/network_systemd.erb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.3.3.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.3.2.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.19.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.18.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.16.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.14.0 templates/guests/gentoo/network_systemd.erb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.10.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.9.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.8.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.7.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.6.2 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.6.1 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.6.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.5.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.4.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.3.0 templates/guests/gentoo/network_systemd.erb
vagrant-unbundled-2.2.2.0 templates/guests/gentoo/network_systemd.erb