[Pkg-libvirt-commits] [libguestfs] 40/66: v2v: docs: Change examples so -i input comes before -o options.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:47:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.

commit 91c1f58e21fd61dcf38e6d30bf4c59d27432f11d
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Sep 23 11:52:00 2014 +0100

    v2v: docs: Change examples so -i input comes before -o options.
    
    Make the input/output ordering of command line arguments clearer by
    changing:
    
     virt-v2v -i disk -o local -os /var/tmp disk.img
    
    to:
    
     virt-v2v -i disk disk.img -o local -os /var/tmp
---
 v2v/cmdline.ml   |  8 ++++----
 v2v/virt-v2v.pod | 12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index adea40c..67927a1 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -160,12 +160,12 @@ let parse_cmdline () =
 
  virt-v2v -ic vpx://esx.example.com/Datacenter/esxi -os imported esx_guest
 
- virt-v2v -ic vpx://esx.example.com/Datacenter/esxi \
-   -o rhev -os rhev.nfs:/export_domain --network rhevm esx_guest
+ virt-v2v -ic vpx://esx.example.com/Datacenter/esxi esx_guest \
+   -o rhev -os rhev.nfs:/export_domain --network rhevm
 
- virt-v2v -i libvirtxml -o local -os /var/tmp guest-domain.xml
+ virt-v2v -i libvirtxml guest-domain.xml -o local -os /var/tmp
 
- virt-v2v -i disk -o local -os /var/tmp disk.img
+ virt-v2v -i disk disk.img -o local -os /var/tmp
 
  virt-v2v -i disk disk.img -o glance
 
diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
index 3e7ce9e..1230fe4 100644
--- a/v2v/virt-v2v.pod
+++ b/v2v/virt-v2v.pod
@@ -6,12 +6,12 @@ virt-v2v - Convert a guest to use KVM
 
  virt-v2v -ic vpx://esx.example.com/Datacenter/esxi esx_guest
 
- virt-v2v -ic vpx://esx.example.com/Datacenter/esxi \
-   -o rhev -os rhev.nfs:/export_domain --network rhevm esx_guest
+ virt-v2v -ic vpx://esx.example.com/Datacenter/esxi esx_guest \
+   -o rhev -os rhev.nfs:/export_domain --network rhevm
 
- virt-v2v -i libvirtxml -o local -os /var/tmp guest-domain.xml
+ virt-v2v -i libvirtxml guest-domain.xml -o local -os /var/tmp
 
- virt-v2v -i disk -o local -os /var/tmp disk.img
+ virt-v2v -i disk disk.img -o local -os /var/tmp
 
  virt-v2v -i disk disk.img -o glance
 
@@ -118,7 +118,7 @@ To control the name of the image in glance, use the I<-on> option.
 Given a disk image from another hypervisor that you want to convert to
 run on KVM, you have two options.  The simplest way is to try:
 
- virt-v2v -i disk -o local -os /var/tmp disk.img
+ virt-v2v -i disk disk.img -o local -os /var/tmp
 
 where virt-v2v guesses everything about the input C<disk.img> and (in
 this case) writes the converted result to C</var/tmp>.
@@ -128,7 +128,7 @@ L<libvirt XML|http://libvirt.org/formatdomain.html> describing the
 input guest (if you can get the source hypervisor to provide you with
 libvirt XML, then so much the better).  You can then do:
 
- virt-v2v -i libvirtxml -o local -os /var/tmp guest-domain.xml
+ virt-v2v -i libvirtxml guest-domain.xml -o local -os /var/tmp
 
 Since C<guest-domain.xml> contains the path(s) to the guest disk
 image(s) you do not need to specify the name of the disk image on the

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list