18a664dd32
We are running into race conditions with glean, which ssh-keygen -A is not handling properly. So, create a new script to first check if the file exists, then use 'yes' to disable overwriting of existing files. Change-Id: Ie82e1e3f832fcc8f32c7e1335c5f0ee16d36f9a8 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
11 lines
201 B
Desktop File
11 lines
201 B
Desktop File
[Unit]
|
|
Description=OpenSSH Server Key Generation
|
|
Before=ssh.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/sbin/runtime-ssh-host-keys.sh
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|