]> git.proxmox.com Git - pve-docs.git/commitdiff
pct: use code blocks in example commands for bindmounts
authorOguz Bektas <o.bektas@proxmox.com>
Wed, 5 Jan 2022 11:09:10 +0000 (12:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Jan 2022 07:38:40 +0000 (08:38 +0100)
for better readability on the wiki page and admin guide.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
pct.adoc

index 3fd7361b2539796e53d51b48533cb99020298580..ebae3e9b165baa01ef427a2a0e6aa278cdf83d98 100644 (file)
--- a/pct.adoc
+++ b/pct.adoc
@@ -521,10 +521,21 @@ hierarchy under `/mnt/bindmounts`. Never bind mount system directories like
 NOTE: The bind mount source path must not contain any symlinks.
 
 For example, to make the directory `/mnt/bindmounts/shared` accessible in the
-container with ID `100` under the path `/shared`, use a configuration line like
-`mp0: /mnt/bindmounts/shared,mp=/shared` in `/etc/pve/lxc/100.conf`.
-Alternatively, use `pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared` to
-achieve the same result.
+container with ID `100` under the path `/shared`, add a configuration line such as:
+
+----
+mp0: /mnt/bindmounts/shared,mp=/shared
+----
+
+into `/etc/pve/lxc/100.conf`.
+
+Or alternatively use the `pct` tool:
+
+----
+pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared
+----
+
+to achieve the same result.
 
 
 Device Mount Points