Tomáš Golembiovský
2020-Jan-20 15:54 UTC
[Libguestfs] [PATCH] vCenter: pass user name to nbdkit curl plugin
Signed-off-by: Tomáš Golembiovský <tgolembi@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 (* Return the struct. *) -- 2.24.1
Richard W.M. Jones
2020-Jan-21 08:16 UTC
Re: [Libguestfs] [PATCH] vCenter: pass user name to nbdkit curl plugin
On Mon, Jan 20, 2020 at 04:54:35PM +0100, Tomáš Golembiovský wrote:> Signed-off-by: Tomáš Golembiovský <tgolembi@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 inThanks - 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
Possibly Parallel Threads
- [PATCH v2v 0/4] v2v: vcenter: Implement cookie scripts.
- [PATCH 5/5] v2v: vCenter: Handle disks with snapshots (RHBZ#1172425).
- [PATCH 0/5] v2v: Handle disks with snapshots (RHBZ#1172425).
- [PATCH] v2v: Implement the --bandwidth* options to control network bandwidth.
- [PATCH v3 00/12] v2v: Change virt-v2v to use nbdkit for input in several modes.