On Tue, Sep 30, 2014 at 04:44:04PM +0100, Richard W.M. Jones wrote:
qemu in SLIRP mode offers DHCP services to the appliance. We
don't
use them, but use a fixed IP address intead. This changes the
appliance to get its IP address using DHCP.
Note: This is only used when the network is enabled. dhclient is
somewhat slower, but the penalty (a few seconds) is only paid for
network users. We could consider using the faster systemd dhcp client
instead.
Little known fact - the kernel has a built-in DHCP server.
I wonder if it is possible to use 'ip=dhcp' as a kernel boot
arg ? Apparently the kernel provides a /proc/net/pnp file which
you'd symlink to /etc/resolv.conf for DNS setup.
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|