[Libguestfs] [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.

Richard W.M. Jones rjones at redhat.com
Thu Oct 2 12:21:14 UTC 2014

On Thu, Oct 02, 2014 at 02:10:27PM +0200, Olaf Hering wrote:
> On Thu, Oct 02, Richard W.M. Jones wrote:
> > It seems as if it would, from reading the dhcpcd man page ..
> Looks like the syntax is 'dhcpcd <interface>'.

I haven't tried it of course, but it looks from the man page like
dhcpcd will try to configure all interfaces if no interface is
specified.  It would be a great help if you could confirm this.

I'm mainly worried that we won't know how interfaces are named,
although the old code assumed eth0 and appeared to work until now.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

More information about the Libguestfs mailing list