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

Olaf Hering olaf at aepfle.de
Thu Oct 2 11:43:46 UTC 2014


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?

Olaf




More information about the Libguestfs mailing list