Re: [libvirt] networking problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 02, 2017 at 09:24:22AM +0000, Stefan Hajnoczi wrote:
> On Sun, Oct 29, 2017 at 04:07:09AM -0700, msliu@xxxxxxxxxxxxxxxxx wrote:
> > I have performed following steps:
> > 
> > $ virsh net-destroy default
> > $ virsh net-undefine default
> > 
> > Now I couldn't start guest with following warning popup:
> > Error starting domain: Network not found: no network with matching name
> > 'default'
> > 
> > Please advise how to re-create 'default' instead of reinstalling all
> > guests.
> 
> This is a libvirt question.  I have CCed the libvirt mailing list so you
> can continue discussion there.
> 
> On Red Hat-based distros try reinstalling the
> libvirt-daemon-config-network package.  On Debian-based distros try
> reinstalling the libvirt-daemon-system package.  This should restore the
> /etc/libvirt/qemu/networks/default.xml file that you are missing.

No need to re-install those RPMs - Libvirt leaves a copy of the stock XML
file at /usr/share/libvirt/networks/default.xml.  So just run

  virsh define /usr/share/libvirt/networks/default.xml
  virsh start default


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux