File cloud-init-finalbeforelogin.patch of Package cloud-init.4242

--- systemd/cloud-final.service.orig
+++ systemd/cloud-final.service
@@ -1,6 +1,7 @@
 [Unit]
 Description=Execute cloud user/final scripts
 After=network-online.target cloud-config.service rc-local.service multi-user.target
+Before=systemd-logind.service
 Wants=network-online.target cloud-config.service
 
 [Service]
openSUSE Build Service is sponsored by