<para>Takes a boolean argument or the special value <literal>auto</literal>, 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 activate the relevant units. If this option is not used (or set to
+ unit or the user explicitly activates the relevant units. If this option is not used (or set to
<literal>auto</literal>) automatic detection of IMDS is used, see above.</para>
<xi:include href="version-info.xml" xpointer="v261"/>
return 0;
}
- log_info("IMDS support enabled, pull in IMDS units.");
+ log_info("IMDS support enabled, pulling in IMDS units.");
/* Enable IMDS early networking, so that we can actually reach the IMDS server. */
if (arg_network_mode != IMDS_NETWORK_OFF) {
at_exit() {
set +e
- systemctl stop fake-imds systemd-imdsd.socket ||:
- ip link del dummy0 ||:
+ systemctl stop fake-imds systemd-imdsd.socket
+ ip link del dummy0
rm -f /run/credstore/firstboot.hostname /run/credstore/acredtest /run/systemd/system/systemd-imdsd@.service.d/50-env.conf
- rmdir /run/systemd/system/systemd-imdsd@.service.d ||:
+ rmdir /run/systemd/system/systemd-imdsd@.service.d
}
trap at_exit EXIT