add ephemeral to nspawn-settings.

This commit is contained in:
Jiuyang liu
2018-10-24 10:22:20 +02:00
committed by Lennart Poettering
parent c8758e726c
commit a2f577fca0
4 changed files with 20 additions and 3 deletions
+10
View File
@@ -126,6 +126,16 @@
<filename>systemd-nspawn@.service</filename> template unit file is used.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>Ephemeral=</varname></term>
<listitem><para>Takes a boolean argument, which defaults to off, If enabled, the container is run with
a temporary snapshot of its file system that is removed immediately when the container terminates.
This is equivalent to the <option>--ephemeral</option> command line switch. See
<citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry> for details
about the specific options supported.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>ProcessTwo=</varname></term>