[Libguestfs] [PATCH] vCenter: pass user name to nbdkit curl plugin
Richard W.M. Jones
rjones at redhat.com
Tue Jan 21 08:16:42 UTC 2020
On Mon, Jan 20, 2020 at 04:54:35PM +0100, Tomáš Golembiovský wrote:
> Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
> ---
> v2v/vCenter.ml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/v2v/vCenter.ml b/v2v/vCenter.ml
> index 89c5579b..d9bf12c1 100644
> --- a/v2v/vCenter.ml
> +++ b/v2v/vCenter.ml
> @@ -79,7 +79,7 @@ let rec map_source ?bandwidth ?password_file dcPath uri server path =
>
> let nbdkit =
> Nbdkit.create_curl ?bandwidth ?cookie:session_cookie ~password ~sslverify
> - https_url in
> + ?user:uri.uri_user https_url in
> let qemu_uri = Nbdkit.run nbdkit in
Thanks - pushed.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
More information about the Libguestfs
mailing list