mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02: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
67f915d18c
commit
1bdb34137b
@ -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