конфигурация виртуального сетевого устройства (Virtual Network Device configuration)
Параметры раздела Match (Match section options)
A virtual network device is only created if the [Match] section
matches the current environment, or if the section is empty. The
following keys are accepted:
Host=
Matches against the hostname or machine ID of the host. See
"ConditionHost=" in systemd.unit(5) for details. When
prefixed with an exclamation mark ("!"), the result is
negated. If an empty string is assigned, then previously
assigned value is cleared.
Virtualization=
Checks whether the system is executed in a virtualized
environment and optionally test whether it is a specific
implementation. See "ConditionVirtualization=" in
systemd.unit(5) for details. When prefixed with an
exclamation mark ("!"), the result is negated. If an empty
string is assigned, then previously assigned value is
cleared.
KernelCommandLine=
Checks whether a specific kernel command line option is set.
See "ConditionKernelCommandLine=" in systemd.unit(5) for
details. When prefixed with an exclamation mark ("!"), the
result is negated. If an empty string is assigned, then
previously assigned value is cleared.
KernelVersion=
Checks whether the kernel version (as reported by uname -r
)
matches a certain expression. See "ConditionKernelVersion="
in systemd.unit(5) for details. When prefixed with an
exclamation mark ("!"), the result is negated. If an empty
string is assigned, then previously assigned value is
cleared.
Architecture=
Checks whether the system is running on a specific
architecture. See "ConditionArchitecture=" in systemd.unit(5)
for details. When prefixed with an exclamation mark ("!"),
the result is negated. If an empty string is assigned, then
previously assigned value is cleared.
Firmware=
Checks whether the system is running on a machine with the
specified firmware. See "ConditionFirmware=" in
systemd.unit(5) for details. When prefixed with an
exclamation mark ("!"), the result is negated. If an empty
string is assigned, then previously assigned value is
cleared.