Sha256: e120bf870751d732b1da8cb968d587fa625ae7084f8b73aae0c55d6bef4ba1ad

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 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 %>

</network>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-libvirt-0.0.36 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.0.35 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.0.33 lib/vagrant-libvirt/templates/private_network.xml.erb