]> git.proxmox.com Git - pmg-docs.git/commitdiff
fix #2098 and a typo
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 27 Feb 2019 16:30:01 +0000 (17:30 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 28 Feb 2019 06:00:49 +0000 (07:00 +0100)
The phrasing regarding copying the templates from '/var/lib/pmg/templates'
to '/etc/pmg/templates' caused some confusion [0] and some users thought they
need to copy all templates to '/etc/pmg/templates', even if they only modified
one template. Rephrasing the sentence to speak of a singular template, should
explain the workings better.

Additionally a singular/plural typo was fixed

[0] https://bugzilla.proxmox.com/show_bug.cgi?id=2098 and a few forum-threads

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
pmgconfig.adoc

index f12b258b9cf5252e80472640102e1153ed9eea7c..3fb0e231574837de21174730d80358d69d087977 100644 (file)
@@ -143,8 +143,8 @@ We use a template based approach to generate those files. The {tts} is
 a well known, fast and flexible template processing system. You can
 find the default templates in `/var/lib/pmg/templates/`. Please do not
 modify them directly, because your modification would get lost on the
 a well known, fast and flexible template processing system. You can
 find the default templates in `/var/lib/pmg/templates/`. Please do not
 modify them directly, because your modification would get lost on the
-next update. Instead, copy them to `/etc/pmg/templates/`, then apply
-your changes there.
+next update. Instead, copy the template you wish to change to
+`/etc/pmg/templates/`, then apply your changes there.
 
 Templates can access any configuration setting, and you can use the
 `pmgconfig dump` command to get a list of all variable names:
 
 Templates can access any configuration setting, and you can use the
 `pmgconfig dump` command to get a list of all variable names:
@@ -167,7 +167,7 @@ or when you directly edit configuration files
 # pmgconfig sync --restart 1
 ----
 
 # pmgconfig sync --restart 1
 ----
 
-Above commands also restarts services if underlying configuration
+The above command also restarts services if the underlying configuration
 files are changed. Please note that this is automatically done when
 you change the configuration using the GUI or API.
 
 files are changed. Please note that this is automatically done when
 you change the configuration using the GUI or API.