[Libguestfs] [PATCH] v2v: Add --mac option to machine-readable

Pino Toscano ptoscano at redhat.com
Tue Aug 7 12:14:07 UTC 2018


On Tuesday, 7 August 2018 14:03:07 CEST Tomáš Golembiovský wrote:
> Patch fe1a8866 added --mac option that allows mapping bridges/networks
> based on the MAC address. It would be nice to have that listed in
> machine-readable output
> 
> Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
> ---
>  v2v/cmdline.ml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
> index 88cb67bbb..5b2df3555 100644
> --- a/v2v/cmdline.ml
> +++ b/v2v/cmdline.ml
> @@ -347,6 +347,7 @@ read the man page virt-v2v(1).
>      printf "vdsm-compat-option\n";
>      printf "in-place\n";
>      printf "io/oo\n";
> +    printf "mac-option\n";
>      List.iter (printf "input:%s\n") (Modules_list.input_modules ());
>      List.iter (printf "output:%s\n") (Modules_list.output_modules ());
>      List.iter (printf "convert:%s\n") (Modules_list.convert_modules ());

Make sense, I will push it soon.

Thanks,
-- 
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/20180807/2d1c4c5e/attachment.sig>


More information about the Libguestfs mailing list