mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-03-07 00:58:19 +03:00
pct: use code blocks in example commands for bindmounts
for better readability on the wiki page and admin guide. Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
This commit is contained in:
parent
6bc5d54db7
commit
55eeea33d6
19
pct.adoc
19
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user