diskimage-builder/elements/runtime-ssh-host-keys
Paul Belanger 45467e4229
Create runtime-ssh-host-keys element
Move managing of SSH host keys into a dedicated element.

Because glean doesn't generate SSH host keys anymore, we need to do it
with a systemd script. This is already handled by CentOS / Fedora so
we don't want to add it there.

This was done to address the upstream bug in debian:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500192

Change-Id: I31ad667672e08350872db21a83445fe0aa7a4a39
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-09-26 12:32:38 -04:00
..
cleanup.d Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
init-scripts Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
post-install.d Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -04:00
element-deps Create runtime-ssh-host-keys element 2016-09-26 12:32:38 -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).