diskimage-builder/elements/runtime-ssh-host-keys
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
..
cleanup.d Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
init-scripts Don't use ssh-keygen -A for init scripts 2016-10-18 14:25:28 -04:00
post-install.d Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
static/usr/local/sbin Don't use ssh-keygen -A for init scripts 2016-10-18 14:25:28 -04:00
element-deps Don't use ssh-keygen -A for init scripts 2016-10-18 14:25:28 -04:00
package-installs.yaml Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
pkg-map Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
README.rst Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00

=====================
runtime-ssh-host-keys
=====================
An element to generate SSH host keys on first boot.

Since ssh key generation is not yet common to all operating systems, we need to
create a DIB element to manage this. We force the removal of the SSH host keys,
then add init scripts to generate them on first boot.

This element currently supports Debian and Ubuntu (both systemd and upstart).