Olaf Hering
2014-Oct-02 11:43 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:> +if grep -sq guestfs_network=1 /proc/cmdline; then > + dhclient > +fidhclient will be missing at least in openSUSE. Not an issue now, does the script fail if the command fails to execute due to ENOENT? Olaf
Richard W.M. Jones
2014-Oct-02 11:51 UTC
Re: [Libguestfs] [PATCH v2 1/4] appliance: Use dhclient instead of hard-coding IP address of appliance.
On Thu, Oct 02, 2014 at 01:43:46PM +0200, Olaf Hering wrote:> On Thu, Oct 02, Richard W.M. Jones wrote: > > > +if grep -sq guestfs_network=1 /proc/cmdline; then > > + dhclient > > +fi > > dhclient will be missing at least in openSUSE. Not an issue now, does > the script fail if the command fails to execute due to ENOENT?The script won't fail, but the network won't work. What's the alternative on SuSE? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Olaf Hering
2014-Oct-02 11:53 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:> The script won't fail, but the network won't work. What's the > alternative on SuSE?I think that would be dhcpcd, which is also used by NetworkManager. Olaf
Apparently Analagous 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.
- [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.