[Libguestfs] [PATCH v2v 2/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).

Pino Toscano ptoscano at redhat.com
Mon Apr 15 16:14:48 UTC 2019


On Monday, 15 April 2019 17:54:42 CEST Richard W.M. Jones wrote:
> This commit adds the --force-interface option which creates a
> Powershell script to set network adapters at firstboot.  An option
> such as:
> 
>   virt-v2v ... --force-interface 00:0c:29:e6:3d:9d,192.168.0.89,192.168.0.1,24,192.168.0.254

Note we already have the option --mac to map a MAC address to a network
or a bridge.  To avoid potential conflicts between the two options,
what about adding a "ip" (or "ip4", or "address", etc) selector to the
--mac option instead?  This way, the proposed changes would be:

  virt-v2v ... --mac 00:0c:29:e6:3d:9d:ip:192.168.0.89,192.168.0.1,24,192.168.0.254

I did not check the rest of the patch yet.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190415/fcac274c/attachment.sig>


More information about the Libguestfs mailing list