Improved man page examples section

This commit is contained in:
Jesse Gardner 2021-04-25 13:21:38 -07:00
parent 04ea4dd952
commit a64ae8f0f4
3 changed files with 21 additions and 0 deletions

7
man.md
View File

@ -374,6 +374,13 @@ STORAGE
EXAMPLES EXAMPLES
======== ========
**qq2clone** **import-template** Debian
Import a domain on the current libvirt connection of name Debian. Now
Debian can be used as a template to produce clone machines
**qq2clone** **import-template** /home/user/Debian.xml
Import domain from a libvirt domain XML file to be used as a template
**qq2clone** --template Debian --run --virt-viewer clone **qq2clone** --template Debian --run --virt-viewer clone
Make a clone of Debian, run it, and connect to its spice graphics using Make a clone of Debian, run it, and connect to its spice graphics using
virt-viewer. All of these options could have instead been defined in the virt-viewer. All of these options could have instead been defined in the

View File

@ -362,6 +362,13 @@ location you do choose is only used by qq2clone
# EXAMPLES # EXAMPLES
**qq2clone** **import-template** Debian
: Import a domain on the current libvirt connection of name Debian. Now Debian can
be used as a template to produce clone machines
**qq2clone** **import-template** /home/user/Debian.xml
: Import domain from a libvirt domain XML file to be used as a template
**qq2clone** \-\-template Debian \-\-run \-\-virt-viewer clone **qq2clone** \-\-template Debian \-\-run \-\-virt-viewer clone
: Make a clone of Debian, run it, and connect to its spice graphics using : Make a clone of Debian, run it, and connect to its spice graphics using
virt\-viewer. All of these options could have instead been defined in the virt\-viewer. All of these options could have instead been defined in the

View File

@ -421,6 +421,13 @@ Default value:
.RE .RE
.SH EXAMPLES .SH EXAMPLES
.TP .TP
.B \f[B]qq2clone\f[R] \f[B]import\-template\f[R] Debian
Import a domain on the current libvirt connection of name Debian.
Now Debian can be used as a template to produce clone machines
.TP
.B \f[B]qq2clone\f[R] \f[B]import\-template\f[R] /home/user/Debian.xml
Import domain from a libvirt domain XML file to be used as a template
.TP
.B \f[B]qq2clone\f[R] \-\-template Debian \-\-run \-\-virt\-viewer clone .B \f[B]qq2clone\f[R] \-\-template Debian \-\-run \-\-virt\-viewer clone
Make a clone of Debian, run it, and connect to its spice graphics using Make a clone of Debian, run it, and connect to its spice graphics using
virt\-viewer. virt\-viewer.