Skip to content

Commit 37dac21

Browse files
committed
man: add a new directives section for .nspawn
They is quite a bit of those directives and they were in "MISCELLANEOUS" because they don't quite fit anywhere. When the OCI-compat stuff is merged, there'll be even more, so let's make a separate section for them.
1 parent d2acdcc commit 37dac21

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

man/systemd.nspawn.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
<para>Settings files may include an <literal>[Exec]</literal>
113113
section, which carries various execution parameters:</para>
114114

115-
<variablelist>
115+
<variablelist class='nspawn-directives'>
116116

117117
<varlistentry>
118118
<term><varname>Boot=</varname></term>
@@ -374,7 +374,7 @@
374374
section, which carries various parameters configuring the file
375375
system of the container:</para>
376376

377-
<variablelist>
377+
<variablelist class='nspawn-directives'>
378378

379379
<varlistentry>
380380
<term><varname>ReadOnly=</varname></term>
@@ -458,7 +458,7 @@
458458
section, which carries various parameters configuring the network
459459
connectivity of the container:</para>
460460

461-
<variablelist>
461+
<variablelist class='nspawn-directives'>
462462

463463
<varlistentry>
464464
<term><varname>Private=</varname></term>

tools/make-directive-index.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@
9797
<variablelist id='fstab-options' />
9898
</refsect1>
9999
100+
<refsect1>
101+
<title><citerefentry><refentrytitle>systemd.nspawn</refentrytitle><manvolnum>5</manvolnum></citerefentry>
102+
directives</title>
103+
104+
<para>Directives for configuring systemd-nspawn containers.</para>
105+
106+
<variablelist id='nspawn-directives' />
107+
</refsect1>
108+
100109
<refsect1>
101110
<title>Program configuration options</title>
102111
@@ -107,7 +116,7 @@
107116
</refsect1>
108117
109118
<refsect1>
110-
<title>command line options</title>
119+
<title>Command line options</title>
111120
112121
<para>Command-line options accepted by programs in the
113122
systemd suite.</para>

0 commit comments

Comments
 (0)