<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><br></div></div></div><div class="gmail_quote">On Wed, Mar 9, 2016 at 2:49 PM, Andrea Bolognani <span dir="ltr"><<a href="mailto:abologna@redhat.com" target="_blank">abologna@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2016-03-09 at 14:15 +0000, Andrei Perietanu wrote:<br>
> I am building a custom Linux image which includes KVM and will be installed on multiple machines. By default when<br>
> installing libvirt you get a 'default network' which adds a 'vrbr0'.<br>
> I found several tutorials online about removing this 'virbr0' but I would like to not have it in the first place.<br>
><br>
> I am compiling libvirt from source so I would think there is some compile time option or some configuration file I<br>
> need to change for the default network not to be included. <br></span></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
</span>It should be enough to run<br>
<br>
  # virsh net-autostart --disable default<br>
<br>
or delete<br>
<br>
  /etc/libvirt/qemu/networks/autostart/default.xml<br>
<br>
after installation. You can also run<br>
<br>
  # virsh net-undefine default<br>
<br>
or delete<br>
<br>
  /etc/libvirt/qemu/networks/default.xml<br>
<br>
if you are sure you're never going to need the<br>
default network.<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>     Thanks for the answer, but this does not solve the problem. As I said I am building an linux image which will be installed on multiple machines. I don't want to have to go to each one and manually disable the default network. I would like to disable it in the image itself so that it's not installed in the first place. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Andrea Bolognani<br>
Software Engineer - Virtualization Team<br>
<br>
</font></span></blockquote></div><br></div></div>

<br>

        
        
        


<p><img src="http://www.klasonline.com/klas_telecom_email_sig_1_01.jpg"></p><p><span style="font-family:Arial;font-size:x-small">The information
transmitted is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of or taking
of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you
receive this in error please contact the sender and delete the
material from any computer immediately. It is the policy of Klas
 Limited to disavow the sending of offensive material and should
you consider that the material contained in the message is offensive
you should contact the sender immediately and also your I.T. Manager.</span></p><p><span style="font-family:Arial;font-size:x-small">Klas Telecom
Inc., a Virginia Corporation with offices at 1101 30th St. NW,
Washington, DC 20007.</span></p>
<p>
<font color="#000000"><font face="Arial"><font size="1">Klas Limited
(Company Number 163303) trading as Klas Telecom, an Irish Limited
Liability Company, with its registered office at Fourth Floor, One
Kilmainham Square, Inchicore Road, Kilmainham, Dublin 8, Ireland.</font></font></font></p>