mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-04-30 18:44:56 +00:00
generate default output file mappings automatically
This commit is contained in:
parent
cb32a49b5b
commit
194d2f2961
@ -24,9 +24,9 @@ ifndef::manvolnum[]
|
|||||||
Datacenter Configuration
|
Datacenter Configuration
|
||||||
========================
|
========================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
|
:pve-toplevel:
|
||||||
endif::manvolnum[]
|
endif::manvolnum[]
|
||||||
ifdef::wiki[]
|
ifdef::wiki[]
|
||||||
:pve-toplevel:
|
|
||||||
:title: Manual: datacenter.cfg
|
:title: Manual: datacenter.cfg
|
||||||
endif::wiki[]
|
endif::wiki[]
|
||||||
|
|
||||||
|
@ -22,10 +22,8 @@ ifndef::manvolnum[]
|
|||||||
High Availability
|
High Availability
|
||||||
=================
|
=================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
endif::manvolnum[]
|
|
||||||
ifdef::wiki[]
|
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
Our modern society depends heavily on information provided by
|
Our modern society depends heavily on information provided by
|
||||||
computers over the network. Mobile devices amplified that dependency,
|
computers over the network. Mobile devices amplified that dependency,
|
||||||
|
2
pct.adoc
2
pct.adoc
@ -24,9 +24,9 @@ ifndef::manvolnum[]
|
|||||||
Proxmox Container Toolkit
|
Proxmox Container Toolkit
|
||||||
=========================
|
=========================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
|
:pve-toplevel:
|
||||||
endif::manvolnum[]
|
endif::manvolnum[]
|
||||||
ifdef::wiki[]
|
ifdef::wiki[]
|
||||||
:pve-toplevel:
|
|
||||||
:title: Linux Container
|
:title: Linux Container
|
||||||
endif::wiki[]
|
endif::wiki[]
|
||||||
|
|
||||||
|
@ -22,10 +22,8 @@ ifndef::manvolnum[]
|
|||||||
Proxmox Cluster File System (pmxcfs)
|
Proxmox Cluster File System (pmxcfs)
|
||||||
====================================
|
====================================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
endif::manvolnum[]
|
|
||||||
ifdef::wiki[]
|
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
The Proxmox Cluster file system (``pmxcfs'') is a database-driven file
|
The Proxmox Cluster file system (``pmxcfs'') is a database-driven file
|
||||||
system for storing configuration files, replicated in real time to all
|
system for storing configuration files, replicated in real time to all
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
Bibliography
|
Bibliography
|
||||||
============
|
============
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
ifdef::wiki[]
|
ifndef::manvolnum[]
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
[bibliography]
|
[bibliography]
|
||||||
.Books about {pve}
|
.Books about {pve}
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
Frequently Asked Questions
|
Frequently Asked Questions
|
||||||
==========================
|
==========================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
ifdef::wiki[]
|
ifndef::manvolnum[]
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
|
endif::manvolnum[]
|
||||||
|
ifdef::wiki[]
|
||||||
:title: FAQ
|
:title: FAQ
|
||||||
endif::wiki[]
|
endif::wiki[]
|
||||||
|
|
||||||
|
@ -24,9 +24,9 @@ ifndef::manvolnum[]
|
|||||||
{pve} Firewall
|
{pve} Firewall
|
||||||
==============
|
==============
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
|
:pve-toplevel:
|
||||||
endif::manvolnum[]
|
endif::manvolnum[]
|
||||||
ifdef::wiki[]
|
ifdef::wiki[]
|
||||||
:pve-toplevel:
|
|
||||||
:title: Firewall
|
:title: Firewall
|
||||||
endif::wiki[]
|
endif::wiki[]
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
Installing Proxmox VE
|
Installing Proxmox VE
|
||||||
=====================
|
=====================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
ifdef::wiki[]
|
ifndef::manvolnum[]
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
|
endif::manvolnum[]
|
||||||
|
ifdef::wiki[]
|
||||||
:title: Installation
|
:title: Installation
|
||||||
endif::wiki[]
|
endif::wiki[]
|
||||||
|
|
||||||
|
@ -22,10 +22,8 @@ ifndef::manvolnum[]
|
|||||||
Cluster Manager
|
Cluster Manager
|
||||||
===============
|
===============
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
endif::manvolnum[]
|
|
||||||
ifdef::wiki[]
|
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
The {PVE} cluster manager `pvecm` is a tool to create a group of
|
The {PVE} cluster manager `pvecm` is a tool to create a group of
|
||||||
physical servers. Such a group is called a *cluster*. We use the
|
physical servers. Such a group is called a *cluster*. We use the
|
||||||
|
@ -23,9 +23,9 @@ ifndef::manvolnum[]
|
|||||||
{pve} Storage
|
{pve} Storage
|
||||||
=============
|
=============
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
|
:pve-toplevel:
|
||||||
endif::manvolnum[]
|
endif::manvolnum[]
|
||||||
ifdef::wiki[]
|
ifdef::wiki[]
|
||||||
:pve-toplevel:
|
|
||||||
:title: Storage
|
:title: Storage
|
||||||
endif::wiki[]
|
endif::wiki[]
|
||||||
|
|
||||||
|
@ -24,10 +24,8 @@ ifndef::manvolnum[]
|
|||||||
User Management
|
User Management
|
||||||
===============
|
===============
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
endif::manvolnum[]
|
|
||||||
ifdef::wiki[]
|
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
// Copied from pve wiki: Revision as of 16:10, 27 October 2015
|
// Copied from pve wiki: Revision as of 16:10, 27 October 2015
|
||||||
|
|
||||||
|
4
qm.adoc
4
qm.adoc
@ -23,10 +23,8 @@ ifndef::manvolnum[]
|
|||||||
Qemu/KVM Virtual Machines
|
Qemu/KVM Virtual Machines
|
||||||
=========================
|
=========================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
endif::manvolnum[]
|
|
||||||
ifdef::wiki[]
|
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
// deprecates
|
// deprecates
|
||||||
// http://pve.proxmox.com/wiki/Container_and_Full_Virtualization
|
// http://pve.proxmox.com/wiki/Container_and_Full_Virtualization
|
||||||
|
@ -14,27 +14,7 @@ my $environments = {
|
|||||||
pvelogo => 0, # ignore
|
pvelogo => 0, # ignore
|
||||||
};
|
};
|
||||||
|
|
||||||
my $fileinfo = {
|
my $fileinfo = {};
|
||||||
outfile => {
|
|
||||||
default => {
|
|
||||||
"pve-admin-guide.adoc" => "pve-admin-guide.html",
|
|
||||||
"datacenter.cfg.adoc" => "datacenter.cfg.5.html",
|
|
||||||
"ha-manager.adoc" => "chapter-ha-manager.html",
|
|
||||||
"pct.adoc" => "chapter-pct.html",
|
|
||||||
"pve-bibliography.adoc" => "chapter-pve-bibliography.html",
|
|
||||||
"pve-firewall.adoc" => "chapter-pve-firewall.html",
|
|
||||||
"pve-installation.adoc" => "chapter-pve-installation.html",
|
|
||||||
"pvecm.adoc" => "chapter-pvecm.html",
|
|
||||||
"pvesm.adoc" => "chapter-pvesm.html",
|
|
||||||
"pveum.adoc" => "chapter-pveum.html",
|
|
||||||
"qm.adoc" => "chapter-qm.html",
|
|
||||||
"sysadmin.adoc" => "chapter-sysadmin.html",
|
|
||||||
"vzdump.adoc" => "chapter-vzdump.html",
|
|
||||||
"pmxcfs.adoc" => "chapter-pmxcfs.html",
|
|
||||||
"pve-faq.adoc" => "chapter-pve-faq.html",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
my $start_env = [];
|
my $start_env = [];
|
||||||
foreach my $e (keys %$environments) {
|
foreach my $e (keys %$environments) {
|
||||||
@ -291,9 +271,24 @@ foreach my $e (@$start_env) {
|
|||||||
} elsif ($e eq 'manvolnum') {
|
} elsif ($e eq 'manvolnum') {
|
||||||
my $realfn = $fn;
|
my $realfn = $fn;
|
||||||
$realfn =~ s/\.adoc$//;
|
$realfn =~ s/\.adoc$//;
|
||||||
die "toplevel file '$fn' is marhes as manual page!" if !$mansection;
|
die "toplevel file '$fn' is not marked as manual page!" if !$mansection;
|
||||||
$realfn .= ".$mansection";
|
$realfn .= ".$mansection";
|
||||||
$fileinfo->{outfile}->{$e}->{$fn} = $realfn;
|
$fileinfo->{outfile}->{$e}->{$fn} = $realfn;
|
||||||
|
} elsif ($e eq 'default') {
|
||||||
|
my $realfn = $fn;
|
||||||
|
$realfn =~ s/\.adoc$//;
|
||||||
|
if (defined($mansection) && ($mansection == 5)) {
|
||||||
|
$realfn .= ".$mansection";
|
||||||
|
$realfn = "$realfn.html";
|
||||||
|
} else {
|
||||||
|
if (($fn ne 'pve-admin-guide.adoc') &&
|
||||||
|
$fileinfo->{doctype}->{$e}->{$fn} == 0) {
|
||||||
|
$realfn = "chapter-$realfn.html";
|
||||||
|
} else {
|
||||||
|
$realfn = "$realfn.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$fileinfo->{outfile}->{$e}->{$fn} = $realfn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
Host System Administration
|
Host System Administration
|
||||||
==========================
|
==========================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
ifdef::wiki[]
|
ifndef::manvolnum[]
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
{pve} is based on the famous https://www.debian.org/[Debian] Linux
|
{pve} is based on the famous https://www.debian.org/[Debian] Linux
|
||||||
distribution. That means that you have access to the whole world of
|
distribution. That means that you have access to the whole world of
|
||||||
|
@ -24,10 +24,8 @@ ifndef::manvolnum[]
|
|||||||
Backup and Restore
|
Backup and Restore
|
||||||
==================
|
==================
|
||||||
include::attributes.txt[]
|
include::attributes.txt[]
|
||||||
endif::manvolnum[]
|
|
||||||
ifdef::wiki[]
|
|
||||||
:pve-toplevel:
|
:pve-toplevel:
|
||||||
endif::wiki[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
Backups are a requirements for any sensible IT deployment, and {pve}
|
Backups are a requirements for any sensible IT deployment, and {pve}
|
||||||
provides a fully integrated solution, using the capabilities of each
|
provides a fully integrated solution, using the capabilities of each
|
||||||
|
Loading…
Reference in New Issue
Block a user