Sha256: 70f6a07034a8797d91cbe27dce30cfff4577723b9d0900aac3b0f4809ff21832

Contents?: true

Size: 1.23 KB

Versions: 4

Compression:

Stored size: 1.23 KB

Contents

<network ipv6='<%= @guest_ipv6 %>'>
  <name><%= @network_name %></name>
  <bridge name="<%= @network_bridge_name %>" />

  <% if (@network_forward_mode != 'none' && @network_forward_mode != 'veryisolated') %>
    <% if @network_forward_device %>
      <forward mode="<%= @network_forward_mode %>" dev="<%= @network_forward_device %>" />
    <% else %>
      <forward mode="<%= @network_forward_mode %>" />
    <% end %>
  <% end %>

  <% if @network_forward_mode != 'veryisolated' %>
    <ip address="<%= @network_address %>" netmask="<%= @network_netmask %>">
    <% if @network_dhcp_enabled  %>
      <dhcp>
        <range start="<%= @network_range_start %>" end="<%= @network_range_stop %>" />
        <% if @network_dhcp_bootp_file  %>
          <% if @network_dhcp_bootp_server  %>
            <bootp file="<%= @network_dhcp_bootp_file %>" server="<%= @network_dhcp_bootp_server %>" />
          <% else %>
            <bootp file="<%= @network_dhcp_bootp_file %>" />
          <% end %>
        <% end %>
      </dhcp>
    <% end %>
    </ip>
  <% end %>

  <% if !@network_ipv6_address.nil? && !@network_ipv6_prefix.nil? %>
    <ip family='ipv6' address="<%= @network_ipv6_address %>" prefix="<%= @network_ipv6_prefix %>"></ip>
  <% end %>

</network>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-libvirt-0.0.40 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.0.39 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.0.38 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.0.37 lib/vagrant-libvirt/templates/private_network.xml.erb