Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit f2c377a

Browse files
committed
man: Remove whitespace from --os-variant list
1 parent 06da855 commit f2c377a

3 files changed

Lines changed: 61 additions & 125 deletions

File tree

man/en/virt-install.1

Lines changed: 53 additions & 111 deletions
Original file line numberDiff line numberDiff line change
@@ -383,111 +383,62 @@ If the special value 'none' is passed, no os variant is recorded and
383383
.Sp
384384
Values for some recent \s-1OS\s0 options are:
385385
.RS 2
386-
.IP "windows" 4
387-
.IX Item "windows"
388-
.RS 4
386+
.IP "win7 : Microsoft Windows 7" 2
387+
.IX Item "win7 : Microsoft Windows 7"
389388
.PD 0
390-
.IP "win7" 4
391-
.IX Item "win7"
392-
.PD
393-
Microsoft Windows 7
394-
.IP "vista" 4
395-
.IX Item "vista"
396-
Microsoft Windows Vista
397-
.IP "winxp64" 4
398-
.IX Item "winxp64"
399-
Microsoft Windows \s-1XP\s0 (x86_64)
400-
.IP "winxp" 4
401-
.IX Item "winxp"
402-
Microsoft Windows \s-1XP\s0
403-
.IP "win2k8" 4
404-
.IX Item "win2k8"
405-
Microsoft Windows Server 2008
406-
.RE
407-
.RS 4
408-
.RE
409-
.IP "unix" 4
410-
.IX Item "unix"
411-
.RS 4
412-
.PD 0
413-
.IP "freebsd8" 4
414-
.IX Item "freebsd8"
415-
.PD
416-
FreeBSD 8.x
417-
.RE
418-
.RS 4
419-
.RE
420-
.IP "other" 4
421-
.IX Item "other"
422-
.RS 4
423-
.PD 0
424-
.IP "generic" 4
425-
.IX Item "generic"
426-
.PD
427-
Generic
389+
.IP "vista : Microsoft Windows Vista" 2
390+
.IX Item "vista : Microsoft Windows Vista"
391+
.IP "winxp64 : Microsoft Windows \s-1XP\s0 (x86_64)" 2
392+
.IX Item "winxp64 : Microsoft Windows XP (x86_64)"
393+
.IP "winxp : Microsoft Windows \s-1XP\s0" 2
394+
.IX Item "winxp : Microsoft Windows XP"
395+
.IP "win2k8 : Microsoft Windows Server 2008" 2
396+
.IX Item "win2k8 : Microsoft Windows Server 2008"
397+
.IP "freebsd8 : FreeBSD 8.x" 2
398+
.IX Item "freebsd8 : FreeBSD 8.x"
399+
.IP "generic : Generic" 2
400+
.IX Item "generic : Generic"
401+
.IP "debiansqueeze : Debian Squeeze" 2
402+
.IX Item "debiansqueeze : Debian Squeeze"
403+
.IP "debianlenny : Debian Lenny" 2
404+
.IX Item "debianlenny : Debian Lenny"
405+
.IP "fedora16 : Fedora 16" 2
406+
.IX Item "fedora16 : Fedora 16"
407+
.IP "fedora15 : Fedora 15" 2
408+
.IX Item "fedora15 : Fedora 15"
409+
.IP "fedora14 : Fedora 14" 2
410+
.IX Item "fedora14 : Fedora 14"
411+
.IP "mes5.1 : Mandriva Enterprise Server 5.1 and later" 2
412+
.IX Item "mes5.1 : Mandriva Enterprise Server 5.1 and later"
413+
.IP "mandriva2010 : Mandriva Linux 2010 and later" 2
414+
.IX Item "mandriva2010 : Mandriva Linux 2010 and later"
415+
.IP "rhel6 : Red Hat Enterprise Linux 6" 2
416+
.IX Item "rhel6 : Red Hat Enterprise Linux 6"
417+
.IP "rhel5.4 : Red Hat Enterprise Linux 5.4 or later" 2
418+
.IX Item "rhel5.4 : Red Hat Enterprise Linux 5.4 or later"
419+
.IP "rhel4 : Red Hat Enterprise Linux 4" 2
420+
.IX Item "rhel4 : Red Hat Enterprise Linux 4"
421+
.IP "sles11 : Suse Linux Enterprise Server 11" 2
422+
.IX Item "sles11 : Suse Linux Enterprise Server 11"
423+
.IP "sles10 : Suse Linux Enterprise Server" 2
424+
.IX Item "sles10 : Suse Linux Enterprise Server"
425+
.IP "ubuntuoneiric : Ubuntu 11.10 (Oneiric Ocelot)" 2
426+
.IX Item "ubuntuoneiric : Ubuntu 11.10 (Oneiric Ocelot)"
427+
.IP "ubuntunatty : Ubuntu 11.04 (Natty Narwhal)" 2
428+
.IX Item "ubuntunatty : Ubuntu 11.04 (Natty Narwhal)"
429+
.IP "ubuntumaverick : Ubuntu 10.10 (Maverick Meerkat)" 2
430+
.IX Item "ubuntumaverick : Ubuntu 10.10 (Maverick Meerkat)"
431+
.IP "ubuntulucid : Ubuntu 10.04 (Lucid Lynx)" 2
432+
.IX Item "ubuntulucid : Ubuntu 10.04 (Lucid Lynx)"
433+
.IP "ubuntuhardy : Ubuntu 8.04 \s-1LTS\s0 (Hardy Heron)" 2
434+
.IX Item "ubuntuhardy : Ubuntu 8.04 LTS (Hardy Heron)"
428435
.RE
429-
.RS 4
430-
.RE
431-
.IP "linux" 4
432-
.IX Item "linux"
433-
.RS 4
434-
.PD 0
435-
.IP "debiansqueeze" 4
436-
.IX Item "debiansqueeze"
436+
.RS 2
437437
.PD
438-
Debian Squeeze
439-
.IP "debianlenny" 4
440-
.IX Item "debianlenny"
441-
Debian Lenny
442-
.IP "fedora16" 4
443-
.IX Item "fedora16"
444-
Fedora 16
445-
.IP "fedora15" 4
446-
.IX Item "fedora15"
447-
Fedora 15
448-
.IP "fedora14" 4
449-
.IX Item "fedora14"
450-
Fedora 14
451-
.IP "mes5.1" 4
452-
.IX Item "mes5.1"
453-
Mandriva Enterprise Server 5.1 and later
454-
.IP "mandriva2010" 4
455-
.IX Item "mandriva2010"
456-
Mandriva Linux 2010 and later
457-
.IP "rhel6" 4
458-
.IX Item "rhel6"
459-
Red Hat Enterprise Linux 6
460-
.IP "rhel5.4" 4
461-
.IX Item "rhel5.4"
462-
Red Hat Enterprise Linux 5.4 or later
463-
.IP "rhel4" 4
464-
.IX Item "rhel4"
465-
Red Hat Enterprise Linux 4
466-
.IP "sles11" 4
467-
.IX Item "sles11"
468-
Suse Linux Enterprise Server 11
469-
.IP "sles10" 4
470-
.IX Item "sles10"
471-
Suse Linux Enterprise Server
472-
.IP "ubuntuoneiric" 4
473-
.IX Item "ubuntuoneiric"
474-
Ubuntu 11.10 (Oneiric Ocelot)
475-
.IP "ubuntunatty" 4
476-
.IX Item "ubuntunatty"
477-
Ubuntu 11.04 (Natty Narwhal)
478-
.IP "ubuntumaverick" 4
479-
.IX Item "ubuntumaverick"
480-
Ubuntu 10.10 (Maverick Meerkat)
481-
.IP "ubuntulucid" 4
482-
.IX Item "ubuntulucid"
483-
Ubuntu 10.04 (Lucid Lynx)
484-
.IP "ubuntuhardy" 4
485-
.IX Item "ubuntuhardy"
486-
Ubuntu 8.04 \s-1LTS\s0 (Hardy Heron)
487-
.RE
488-
.RS 4
438+
.Sp
439+
Use '\-\-os\-variant list' to see the full \s-1OS\s0 list
489440
.RE
490-
.IP "\-\-boot=BOOTOPTS" 4
441+
.IP "\-\-boot=BOOTOPTS" 2
491442
.IX Item "--boot=BOOTOPTS"
492443
Optionally specify the post-install \s-1VM\s0 boot configuration. This option allows
493444
specifying a boot device order, permanently booting off kernel/initrd with
@@ -500,7 +451,7 @@ the latter case, behavior is similar to the \-\-import install option: there
500451
is no 'install' phase, the guest is just created and launched as specified.
501452
.Sp
502453
Some examples:
503-
.RS 4
454+
.RS 2
504455
.IP "\fB\-\-boot cdrom,fd,hd,network,menu=on\fR" 2
505456
.IX Item "--boot cdrom,fd,hd,network,menu=on"
506457
Set the boot device priority as first cdrom, first floppy, first harddisk,
@@ -511,9 +462,6 @@ network \s-1PXE\s0 boot. Additionally enable \s-1BIOS\s0 boot menu prompt.
511462
Have guest permanently boot off a local kernel/initrd pair, with the
512463
specified kernel options.
513464
.RE
514-
.RS 4
515-
.RE
516-
.RE
517465
.RS 2
518466
.RE
519467
.SS "Storage Configuration"
@@ -1300,9 +1248,3 @@ is \s-1NO\s0 \s-1WARRANTY\s0, to the extent permitted by law.
13001248
.SH "SEE ALSO"
13011249
.IX Header "SEE ALSO"
13021250
\&\f(CWvirsh(1)\fR, \f(CW\*(C`virt\-clone(1)\*(C'\fR, \f(CW\*(C`virt\-manager(1)\*(C'\fR, the project website \f(CW\*(C`http://virt\-manager.org\*(C'\fR
1303-
.SH "POD ERRORS"
1304-
.IX Header "POD ERRORS"
1305-
Hey! \fBThe above document had some coding errors, which are explained below:\fR
1306-
.IP "Around line 469:" 4
1307-
.IX Item "Around line 469:"
1308-
You forgot a '=back' before '=head2'

man/en/virt-install.pod.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ Values for some recent OS options are:
310310

311311
::VARIANT VALUES::
312312

313+
Use '--os-variant list' to see the full OS list
314+
313315
=item --boot=BOOTOPTS
314316

315317
Optionally specify the post-install VM boot configuration. This option allows

setup.py

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -257,28 +257,20 @@ def _update_manpages(self):
257257
import virtinst.osdict as osdict
258258

259259
# Build list first
260-
typelist = []
260+
ret = []
261261
for t in osdict.sort_helper(osdict.OS_TYPES):
262-
varlist = []
263262
for v in osdict.sort_helper(osdict.OS_TYPES[t]["variants"]):
264263
label = osdict.OS_TYPES[t]["variants"][v]["label"]
265264
if osdict.lookup_osdict_key(None, None, t, v, "supported"):
266-
varlist.append((v, label))
267-
if varlist:
268-
typelist.append((t, varlist))
265+
ret.append((v, label))
269266

270267
output = ""
271-
output += "=over 4\n\n"
268+
output += "=over 2\n\n"
272269

273-
for t, vlist in typelist:
274-
output += "=item %s\n\n" % t
275-
output += "=over 4\n\n"
270+
for v, label in ret:
271+
output += "=item %-20s : %s\n\n" % (v, label)
276272

277-
for v, label in vlist:
278-
output += "=item %s\n\n" % v
279-
output += label + "\n\n"
280-
281-
output += "=back\n\n"
273+
output += "=back\n\n"
282274

283275
infile = "man/en/virt-install.pod.in"
284276
outfile = "man/en/virt-install.pod"

0 commit comments

Comments
 (0)