On Thu, Sep 18, 2008 at 08:34:37PM -0000, Mario Manno wrote:
> I already have a bridge, a dhcp server and a dns cache. Do I really have
> to dpkg-divert the dnsmasq binary to stop libvirtd from starting it?

Um.. No? You can just disable the dhcp server. Try this:

$ virsh net-dumpxml default > default-net.xml

Use your favourite editor to remove the four lines starting with <dhcp>
and ending with </ip>, and change the preceding line from

   <ip address='192.168.122.1' netmask='255.255.255.0'>

to

   <ip address='192.168.122.1' netmask='255.255.255.0' />

and finally do:

$ virsh net-define default-net.xml

Next time libvirtd starts, it won't start a DHCP server for you. I'm not
sure why you want to do this though. dnsmasq shouldn't come into play
when you're using bridged networking.

-- 
Soren Hansen               | 
Virtualisation specialist  | Ubuntu Server Team
Canonical Ltd.             | http://www.ubuntu.com/

-- 
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to