diskimage-builder/elements/runtime-ssh-host-keys/init-scripts/upstart/ssh-keygen.conf
Paul Belanger 18a664dd32 Don't use ssh-keygen -A for init scripts
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>
2016-10-18 14:25:28 -04:00

8 lines
135 B
Text

description "OpenSSH Server Key Generation"
start on starting ssh
console output
task
exec /usr/local/sbin/runtime-ssh-host-keys.sh