coreos-base/oem-gce: keep unit after its run

Otherwise it gets restarted a few times, which displays this line in the
logs:
```
Nov 30 13:28:41.819250 enable-oslogin[1232]: /etc/pam.d/sshd already exists. Not enabling OS Login
```

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Mathieu Tortuyaux 2023-12-01 10:52:28 +01:00
parent 0ebd16f305
commit d8f62d60cf
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -8,6 +8,7 @@ Before=sshd.socket
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/oem/bin/enable-oslogin