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