Re: [PATCH] examples: Correct the example command to use testnode.xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 29, 2011 at 07:12:31PM +0800, Osier Yang wrote:
>  * s/-connection/-c/
>  * Removes the redundant '/'.
>  * Add "absolute" so that it's more clear.
> 
> Pushed under trivial rule.
> ---
>  examples/xml/test/testnode.xml |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/examples/xml/test/testnode.xml b/examples/xml/test/testnode.xml
> index adc5440..001e353 100644
> --- a/examples/xml/test/testnode.xml
> +++ b/examples/xml/test/testnode.xml
> @@ -4,7 +4,7 @@
>       of applications using libvirt. To use this with virsh, run something
>       like:
>  
> -      virsh -connect test:////path/to/this/dir/testnode.xml nodeinfo
> +      virsh -c test://absolute/path/to/this/dir/testnode.xml nodeinfo

  Actually that's wrong :-)

  That mean the resource /path/to/this/dir/testnode.xml on the absolute
server, reached with test protocol from an URI perspective, so we need
at least and extra / because "" server means local host:
  test:///absolute/path/to/this/dir/testnode.xml

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]