nspawn: add support for --property= to set scope properties

This is similar to systemd-run's --property= setting.
This commit is contained in:
Lennart Poettering
2015-02-18 19:42:24 +01:00
parent 1c8da04446
commit f36933fef6
2 changed files with 47 additions and 7 deletions
+16 -1
View File
@@ -297,7 +297,22 @@
<listitem><para>Make the container part of the specified
slice, instead of the default
<filename>machine.slice</filename>.</para>
<filename>machine.slice</filename>. This is only applies if
the machine is run in its own scope unit, i.e. if
<option>--keep-unit</option> is not used.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--property=</option></term>
<listitem><para>Set a unit property on the scope unit to
register for the machine. This only applies if the machine is
run in its own scope unit, i.e. if
<option>--keep-unit</option> is not used. Takes unit property
assignments in the same format as <command>systemctl
set-property</command>. This is useful to set memory limits
and similar for machines.</para>
</listitem>
</varlistentry>