Skip to content

cloud-setup: add pre-up event to prevent reaching network-online.target

Wen Liang requested to merge wl/nm-cloud-setup-preup-action into main

network-online.target should not be reached before nm-cloud-setup completes configuring the network, which may make user service get started before the network is fully configured.

Setting nm-cloud-setup.service as "Before=network-online.target" would maybe have already achieved that. However, also use a pre-up dispatcher script, so that the device activation in NetworkManager is also waiting for nm-cloud-setup to complete.

https://bugzilla.redhat.com/show_bug.cgi?id=2151040

Merge request reports

Loading