1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00

man: move one more nspawn example into a proper <example> section

This commit is contained in:
Lennart Poettering 2014-10-21 01:11:14 +02:00
parent 1db8c66f2e
commit 0b3b83e59b

View File

@ -751,13 +751,13 @@
<para>This runs a copy of the host system in a
btrfs snapshot.</para>
</example>
</refsect1>
<refsect1>
<title>Run a container with SELinux sandbox security contexts</title>
<example>
<title>Run a container with SELinux sandbox security contexts</title>
<programlisting># chcon system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -R /srv/container
<programlisting># chcon system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -R /srv/container
# systemd-nspawn -L system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -Z system_u:system_r:svirt_lxc_net_t:s0:c0,c1 -D /srv/container /bin/sh</programlisting>
</example>
</refsect1>
<refsect1>