[Libguestfs] [PATCH v2v 2/2] -o rhv-upload: Change the default to direct connection

Nir Soffer nsoffer at redhat.com
Tue Feb 15 17:18:52 UTC 2022


On Tue, Feb 15, 2022 at 6:49 PM Richard W.M. Jones <rjones at redhat.com>
wrote:

> To connect via a proxy you must now use “-oo rhv-proxy”.  This is
> usually slower and not needed.
>
> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2033096
> Thanks: Nir Soffer
> ---
>  output/output_rhv_upload.ml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/output/output_rhv_upload.ml b/output/output_rhv_upload.ml
> index d3b5b412db..5826e1ada5 100644
> --- a/output/output_rhv_upload.ml
> +++ b/output/output_rhv_upload.ml
> @@ -52,7 +52,7 @@ module RHVUpload = struct
>
>    -oo rhv-cafile=CA.PEM         Set ‘ca.pem’ certificate bundle filename.
>    -oo rhv-cluster=CLUSTERNAME   Set RHV cluster name.
> -  -oo rhv-proxy                 Connect via oVirt Engine proxy (default:
> true).
> +  -oo rhv-proxy                 Connect via oVirt Engine proxy (default:
> false).
>    -oo rhv-verifypeer[=true|false] Verify server identity (default: false).
>
>  You can override the UUIDs of the disks, instead of using autogenerated
> UUIDs
> @@ -81,7 +81,7 @@ after their uploads (if you do, you must supply one for
> each disk):
>
>      let rhv_cafile = ref None in
>      let rhv_cluster = ref None in
> -    let rhv_direct = ref false in
> +    let rhv_direct = ref true in
>      let rhv_verifypeer = ref false in
>      let rhv_disk_uuids = ref None in
>
> --
> 2.35.1
>

Looks good

Nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220215/33a3d85b/attachment.htm>


More information about the Libguestfs mailing list