On Thursday 16 June 2016 17:58:22 Pino Toscano wrote:
> it would be nice if this bug could be fixed in stable too.  The fix is
> easy: just add isc-dhcp-client to the build dependencies, so supermin
> will use it in the list of packages to copy in the appliance; patch is
> the following:
> 
> diff -Nru libguestfs-1.28.1/debian/control libguestfs-1.28.1/debian/control
> --- libguestfs-1.28.1/debian/control
> +++ libguestfs-1.28.1/debian/control
> @@ -69,6 +69,7 @@
>    grub2 [i386 amd64 powerpc sparc],
>    hfsplus,
>    iproute2 | iproute,
> +  isc-dhcp-client,
>    jfsutils,
>    kmod,
>    less,
> 
> This will cause the libguestfs0 package to grow a isc-dhcp-client
> dependency, which is correct in this case.

While the above part solves the dependency issue in the appliance, it
seems like dhclient needs the interface to setup. This was fixed one
year ago upstream, as commit 2d2a6550 [1].
Pulling it in addition to the above patch solves the setup of the
networking.

[1] 
https://github.com/libguestfs/libguestfs/commit/2d2a65504dca732a398d237565b9778f8ca828b5

Thanks,
-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to