diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-07-13 10:38:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-07-15 10:53:45 +0200 |
commit | 4f80cfca5ebf9743c13b648017b773090f57b86b (patch) | |
tree | 39191ff5dbbc0db324e7ed9d085f06b99f24c162 /src/udev/net | |
parent | Merge pull request #24005 from poettering/smbios-creds (diff) | |
download | systemd-4f80cfca5ebf9743c13b648017b773090f57b86b.tar.xz systemd-4f80cfca5ebf9743c13b648017b773090f57b86b.zip |
pid1: add mechanism for conditionalizing units/network/netdev/link based on credentials passed in
This is useful when provisioning systems via nspawn/qemu and running
specific services only if specific data is passed into the system.
Diffstat (limited to 'src/udev/net')
-rw-r--r-- | src/udev/net/link-config-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/net/link-config-gperf.gperf b/src/udev/net/link-config-gperf.gperf index 96280148c7..240f16e251 100644 --- a/src/udev/net/link-config-gperf.gperf +++ b/src/udev/net/link-config-gperf.gperf @@ -34,6 +34,7 @@ Match.Host, config_parse_net_condition, Match.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(LinkConfig, conditions) Match.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(LinkConfig, conditions) Match.KernelVersion, config_parse_net_condition, CONDITION_KERNEL_VERSION, offsetof(LinkConfig, conditions) +Match.Credential, config_parse_net_condition, CONDITION_CREDENTIAL, offsetof(LinkConfig, conditions) Match.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(LinkConfig, conditions) Match.Firmware, config_parse_net_condition, CONDITION_FIRMWARE, offsetof(LinkConfig, conditions) Link.Description, config_parse_string, 0, offsetof(LinkConfig, description) |