systemd-imds-generator - Man Page

Generator to automatically enable IMDS on supporting environments

Synopsis

/usr/lib/systemd/system-generators/systemd-imds-generator

Description

systemd-imds-generator is a generator that enables IMDS (Instance Metadata Service) functionality at boot on systems that support it. Specifically it does three things:

By default, whether to pull in these services or not is decided based on hwdb(7) information, that detects various IMDS environments automatically. However, this logic may be overridden via systemd.imds=, see below.

systemd-imds-generator implements systemd.generator(7).

Kernel Command Line

systemd-imds-generator understands the following kernel command line parameters:

systemd.imds=

Takes a boolean argument or the special value "auto", and may be used to enable or disable the IMDS logic. Note that this controls only whether the relevant services (as listed above) are automatically pulled into the initial transaction, it has no effect if some other unit or the user explicitly activates the relevant units. If this option is not used (or set to "auto") automatic detection of IMDS is used, see above.

Added in version 261.

systemd.imds.network=

Takes one of "off", "locked", "unlocked". Controls whether and how to set up networking for IMDS endpoint access. Unless set to "off" early boot networking is enabled, ensuring that the IMDS endpoint can be reached. If set to "locked" (the default) direct access to the IMDS endpoint by regular unprivileged processes is disabled via a "prohibit" route, so that any access must be done through systemd-imdsd@.service or its associated tools. If set to "unlocked" this "prohibit" route is not created, and regular unprivileged processes can directly contact IMDS.

Added in version 261.

systemd.imds.import=

Takes a boolean argument. If false the systemd-imds-import.service (see above) is not pulled into the initial transaction, i.e. no credentials are imported from IMDS. Defaults to true.

Added in version 261.

See Also

systemd(1), systemd-imds(1), systemd-imdsd@.service(8), systemd.system-credentials(7)

Referenced By

kernel-command-line(7), systemd.directives(7), systemd-imds(1), systemd-imdsd@.service(8), systemd.index(7).

systemd 261~rc1