Sha256: 34ce8fd8c49fcad7fa955ad65860c94fd6032d8a47c1ffadf53cf58a26d9cf0c

Contents?: true

Size: 1.48 KB

Versions: 9

Compression:

Stored size: 1.48 KB

Contents

<network ipv6='<%= @guest_ipv6 %>'>
  <name><%= @network_name %></name>
  <bridge name="<%= @network_bridge_name %>" stp="<%= @network_bridge_stp %>" delay="<%= @network_bridge_delay %>" />

  <% if @network_domain_name %>
    <domain name="<%= @network_domain_name %>" localOnly="yes" />
  <% end %>

  <% if @network_mtu %>
  <mtu size="<%= @network_mtu %>" />
  <% end %>

  <% 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

9 entries across 9 versions & 1 rubygems

Version Path
vagrant-libvirt-0.7.0 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.6.3 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.6.2 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.6.1 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.6.0 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.5.3 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.5.2 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.5.1 lib/vagrant-libvirt/templates/private_network.xml.erb
vagrant-libvirt-0.5.0 lib/vagrant-libvirt/templates/private_network.xml.erb