<interface type='<%= @type %>'>
	<% if @mac %>
  	<mac address='<%= @mac %>'/>
  <% end %>
  <%if @type == 'direct'%>
  <source dev='<%= @device %>' mode='<%= @mode %>'/>
  <% else %>
  <source bridge='<%=@device%>'/>
  <model type='<%=@model_type%>'/>
  <% end %>
</interface>



<interface type='<%= @type %>'>
	<% if @mac %>
  	<mac address='<%= @mac %>'/>
  <% end %>
  <%if @type == 'direct'%>
  <source dev='<%= @device %>' mode='<%= @mode %>'/>
  <% else %>
  <source bridge='<%=@device%>'/>
  <% end %>
  <model type='<%=@model_type%>'/>
</interface>



Add ability to always set the type of NIC
Add ability to always set the type of NIC
