chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1db8c66
)
man: move one more nspawn example into a proper <example> section
author
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Oct 2014 23:11:14 +0000
(
01:11
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Oct 2014 23:11:14 +0000
(
01:11
+0200)
man/systemd-nspawn.xml
patch
|
blob
|
history
diff --git
a/man/systemd-nspawn.xml
b/man/systemd-nspawn.xml
index 22f2df47280a7a50eda27afe6219e6de40b269db..4aa97b02e79148a0473aeca6507df3d42a094553 100644
(file)
--- 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>
<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>
# 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>
</refsect1>
<refsect1>