This file is indexed.

/usr/share/rubygems-integration/all/gems/vagrant-libvirt-0.0.43/lib/vagrant-libvirt/templates/public_interface.xml.erb is in vagrant-libvirt 0.0.43-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<interface type='<%= @type %>'<% if @trust_guest_rx_filters %> trustGuestRxFilters='yes'<% end %>>
  <% if @mac %>
  <mac address='<%= @mac %>'/>
  <% end %>
  <%if @type == 'direct'%>
  <source dev='<%= @device %>' mode='<%= @mode %>'/>
  <% elsif !@portgroup.nil? %>
  <source network='<%=@network_name%>' portgroup='<%=@portgroup%>'/>
  <% else %>
  <source bridge='<%=@device%>'/>
  <% end %>
  <model type='<%=@model_type%>'/>
  <% if @driver_name and @driver_queues %>
    <driver name='<%=@driver_name%>' queues='<%=@driver_queues%>'/>
  <% elsif @driver_queues %>
    <driver queues='<%=@driver_queues%>'/>
  <% elsif @driver_name %>
    <driver name='<%=@driver_name%>'/>
  <% end %>
  <% if @ovs %>
  <virtualport type='openvswitch'/>
  <% end %>
  <% if @pci_bus and @pci_slot %>
  <address type='pci' bus='<%=@pci_bus%>' slot='<%=@pci_slot%>' />
  <% end %>
</interface>