[virt-tools-list] edit network while running

Daniel P. Berrangé berrange at redhat.com
Wed May 2 13:54:22 UTC 2018


On Wed, May 02, 2018 at 01:48:23PM +0000, Ratliff, John wrote:
> Is there a way to restart dnsmasq with a new configuration in net-edit
> without destroy/start the network?
> 
>  
> 
> I want to add host reservations when new machines are added, but if I do a
> destroy/start, all the other running hosts lose networking.

It isn't well documented, but the 'virsh net-update' command is what you
wnat. It allows you add/remove DHCP host mappings on the fly

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




More information about the virt-tools-list mailing list