Olaf Hering
2014-Oct-02 12:10 UTC
Re: [Libguestfs] [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
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>'. Olaf
Richard W.M. Jones
2014-Oct-02 12:21 UTC
Re: [Libguestfs] [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
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. Rich. -- 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. http://people.redhat.com/~rjones/virt-top
Olaf Hering
2014-Oct-02 12:32 UTC
Re: [Libguestfs] [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
On Thu, Oct 02, Richard W.M. Jones wrote:> 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.Yes. And if the appliance is booted with net.ifnames=0, or whatever keeps systemd out of the picture, the name will be predictable. Olaf
Seemingly Similar Threads
- Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
- Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
- Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
- Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
- Re: [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.