similar to: Re: New patch/feature for libguestfs to parse query string in URL

Displaying 20 results from an estimated 7000 matches similar to: "Re: New patch/feature for libguestfs to parse query string in URL"

2015 Feb 02
1
RFC: Handle query strings for http and https (RHBZ#1092583)
Parse the query string from URLs, and pass it as new add_drive optarg; use it when building the file= URL for qemu. Accept query string only for http and https protocols, for now. --- Possibly it looks like an ad-hoc solution for http(s), although I'm not sure how it could possibly be generalized somehow (maybe "extra params" which would be the query string for http(s)?).
2015 Dec 02
2
RFC: arbitrary parameters for add_drive
Hi, one of the bugs we have (#1092583) is about the lack of query string for http/https URLs: there were patches about that (not merged yet), whose solution was to add a new optional argument "querystring". Another bug that I'm looking at (#1118305) is about setting initiator IQNs for iSCSI drives; a good solution IMHO would be add a new initiator-name parameter for this. Thinking
2015 Dec 03
1
Re: RFC: arbitrary parameters for add_drive
On Thursday 03 December 2015 11:52:14 Richard W.M. Jones wrote: > On Wed, Dec 02, 2015 at 02:10:52PM +0100, Pino Toscano wrote: > > Hi, > > > > one of the bugs we have (#1092583) is about the lack of query string > > for http/https URLs: there were patches about that (not merged yet), > > whose solution was to add a new optional argument "querystring".
2015 Dec 03
0
Re: RFC: arbitrary parameters for add_drive
On Wed, Dec 02, 2015 at 02:10:52PM +0100, Pino Toscano wrote: > Hi, > > one of the bugs we have (#1092583) is about the lack of query string > for http/https URLs: there were patches about that (not merged yet), > whose solution was to add a new optional argument "querystring". > > Another bug that I'm looking at (#1118305) is about setting initiator > IQNs
2019 Jun 28
0
Re: Guestfish command - "copy-out" not working for symbolic links
guestfish --ro -a /path/to/disk run : mount /dev/your-blkdev / : download /etc/resolv.conf /path/on/host/dst.file Is also not working for symbolic link - as "/etc/resolv.conf" is symbolic link. ________________________________ From: Nikolay Ivanets <stenavin@gmail.com> Sent: Friday, June 28, 2019 11:34 AM To: Chintan Patel Cc: Chintan Patel; libguestfs@redhat.com Subject: Re:
2019 Jun 28
0
Re: Guestfish command - "copy-out" not working for symbolic links
All API is exposed as gustfish commands -- Mykola Ivanets пт, 28 черв. 2019, 21:28 користувач Chintan Patel < chintan.r.patel@outlook.com> пише: > This no going to work. > AS I told you I need something under guestfish command list not from > guestfs commands. > > Thanks, > Chintan > ------------------------------ > *From:* Nikolay Ivanets
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
This no going to work. AS I told you I need something under guestfish command list not from guestfs commands. Thanks, Chintan ________________________________ From: Nikolay Ivanets <stenavin@gmail.com> Sent: Friday, June 28, 2019 10:58 AM To: Chintan Patel Cc: Chintan Patel; libguestfs@redhat.com Subject: Re: [Libguestfs] Guestfish command - "copy-out" not working for symbolic
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
guestfish --ro -a /path/to/disk run : mount /dev/your-blkdev / : download /etc/resolv.conf /path/on/host/dst.file -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 21:29 Nikolay Ivanets <stenavin@gmail.com> пише: > > All API is exposed as gustfish commands > > -- > Mykola Ivanets > > пт, 28 черв. 2019, 21:28 користувач Chintan Patel
2019 Jun 28
0
Re: Guestfish command - "copy-out" not working for symbolic links
Chintan, Use 'download' (http://libguestfs.org/guestfs.3.html#guestfs_download) -- Mykola Ivanets пт, 28 черв. 2019, 18:55 користувач Chintan Patel < chintan.r.patel@outlook.com> пише: > Hi Nikolay, > > We use guestfish, so I preferred to use commands supported by guestfish. > I tried as below but "realpath" is not working after I have the target > path
2019 Jun 28
1
Re: Guestfish command - "copy-out" not working for symbolic links
Hi Nikolay, We use guestfish, so I preferred to use commands supported by guestfish. I tried as below but "realpath" is not working after I have the target path from symlink. --> Check if the path has a symlink. is-symlink path Ex. - is-symlink "/etc/resolv.conf" -> return true --> If it's true then get target link path readlink path ex. - readlink
2019 Jun 28
2
Re: Guestfish command - "copy-out" not working for symbolic links
If it is one time operation you can call 'realpath' (http://libguestfs.org/guestfs.3.html#guestfs_realpath) first to resolve symlink. -- +380979184774 Mykola Ivanets пт, 28 черв. 2019 о 11:11 Chintan Patel <Chintan.Patel@microsoft.com> пише: > > HI, > > I’m trying to use copu-out command to copy files from remote disk but it’s not working if the file is symbolic
2014 Apr 30
3
[PATCH 2/2] Fix handling of passwords in URLs
So far, passwords in URLs (eg http://user:password@host..) have been handled as part of the username, and thus passing add-drive path username:username:password ... instead of add-drive path username:username secret:password ... Fix the parsing of URLs to handle passwords as separate elements, properly passing it as "secret" parameter for add-drive, and properly readd it when
2015 Jul 01
2
Re: URI Handling Patch
Hi All, Here's the latest patch. I think this should address the problem. The query string is now only appended to the end of a URI in the HTTP and HTTPS cases. The add-uri test now passes, and 'make check' still passes. -- Gabriel
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object. Just wanted to check with you guys if this is the correct explanation of toQueryParams(). If yes, then I''ll add it to the documentation as well. Works for me (but I am not sure if it''s the correct way to use it). /* String.prototype.toQueryParams takes a query string, i.e, string with name value pairs
2014 Jul 01
3
libguestfs on proxmox
Hello, I have an issue with virt-resize on the newest version of proxmox which is running on debian wheezy. when I run the virt-resize on a windows 2008 qemu image I got an error. Here is the last part of the debug message: Copying /dev/sda1 ... libguestfs: trace: copy_device_to_device "/dev/sda1" "/dev/sdb1" "size:32210026496" 100%
2010 Feb 08
2
Order of list-devices changes when libguestfs uses virtio
Output from guestfish after upgrading to rawhide libguestfs, compiled with virtio: ><fs> add_drive "/dev/Guests/RHEL52PV32" ><fs> add_cdrom "/var/lib/virt-v2v/transfer.iso" ><fs> launch ><fs> list-devices /dev/sr0 /dev/vda Note that the order has swapped. If these aren't consistent we don't have a good way to determine which host
2018 May 07
1
How to log querystring values?
Philipp, Thanks so much for your time and relpy. This dawn, before read your email, I worked to implement the URL authentication and it worked like a charm. I am still using querystring instead of custom header field because I have no control over the player. But, the excelent news is, no more rproxy! =) And you were right, this way I have more possibilities than before! Again,
2005 May 18
1
Mysql cmd with Asterisk Problems
Hello all: I am trying to use the mysql command to retrieve information from a mysql database. my example here was formed from using the wiki reference to using the mysql command. The problem is with the fetch command. Here is the macro code: Mysql(QueryString=SELECT\ ivr-password\ from\ users\ where\ ivr-id=${userid}) Mysql(Query r ${connid} ${QueryString}) Mysql(Fetch fetchid ${r} dbuserpass)
2020 Mar 14
0
Re: Use libguestfs with SAS URI of a disk image
On Sat, Mar 14, 2020 at 04:48:24AM +0000, JP Zhang wrote: > HI Richard, > > Thanks for the quick reply. > > The Python program that works, that I mentioned earlier, uses subprocess to issue/run "guestfish" commands below in that order. > /libguestfs/run guestfish --listen -a <https storage-SAS-URL> -- ro > then the Python code exported $PID to the
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
2017-07-29 0:20 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > > You need to download this appliance: > > http://download.libguestfs.org/binaries/appliance/ > appliance-1.36.1.tar.xz > > and unpack it under /home/user/appliance/ . > > Directly inside the /home/user/appliance directory you should see > files called "initrd", "kernel",