summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-21 01:11:14 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-21 01:11:14 +0200
commit0b3b83e59b637660524e90a07f9ef691856b19bf (patch)
treeb9061a2c350dca984d225ad56bc2c114a8306b9d
parent1db8c66f2e500272cb5582f9087b8e2a123aee10 (diff)
man: move one more nspawn example into a proper <example> section
-rw-r--r--man/systemd-nspawn.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 22f2df4728..4aa97b02e7 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -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>