Add support for conditions on the machines firmware
This allows to limit units to machines that run on a certain firmware type. For device tree defined machines checking against the machine's compatible is also possible.
This commit is contained in:
committed by
Lennart Poettering
parent
192a9d95ea
commit
cbcdcaaa0e
@@ -1172,6 +1172,16 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>ConditionFirmware=</varname></term>
|
||||
|
||||
<listitem><para>Check whether the system's firmware is of a certain type. Possible values are:
|
||||
<literal>uefi</literal> (for systems with EFI),
|
||||
<literal>device-tree</literal> (for systems with a device tree) and
|
||||
<literal>device-tree-compatible(xyz)</literal> (for systems with a device tree that is compatible to <literal>xyz</literal>).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>ConditionVirtualization=</varname></term>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user