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