[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] virt-customize networking question

On Thu, Nov 23, 2017 at 06:26:37PM +0000, ANDRES POZO MUNOZ wrote:
> Hi,
> A quick question about a problem I’m facing.
> I want to customize some image running a customization script with
> virt-customize.
> Everything works fine, except the fact that I don’t have a DHCP
> server in the network (virt-customize relies on DHCP to assign the
> IP when it boots the image, right?) and all the commands accessing
> the network are failing.
> Is there any option (via config or something like that) to configure
> an static IP in the image?

I suspect you're actually hitting one of several bugs in dhclient,
because virt-customize should never ask for an IP address from your
public DHCP server.  See also:


Can you run ‘guestfish -a /dev/null --network run -v -x’ and attach
the complete output?


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]