c5ec1348c3
The script is set -e and set -o pipefail, unfortauntely this intersects with `yes n`'s non zero exit code behavior when it receives an interrupt like sigpipe. As a result stop setting pipefail so that we treat those errors as "normal" and only fail if ssh-keygen fails. Change-Id: I5447df97c9888cae3007e235e2fea44df61af28e |
||
---|---|---|
.. | ||
cleanup.d | ||
init-scripts | ||
post-install.d | ||
static/usr/local/sbin | ||
element-deps | ||
package-installs.yaml | ||
pkg-map | ||
README.rst |
===================== 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).