[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 11:51:17 UTC 2014
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?
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
More information about the Libguestfs