mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-03 04:21:17 +01:00
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:
parent
0ebd16f305
commit
d8f62d60cf
@ -8,6 +8,7 @@ Before=sshd.socket
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
|
||||
ExecStart=/oem/bin/enable-oslogin
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user