Merge "Have simple-init regenerate ssh keys on boot"

This commit is contained in:
Jenkins
2015-05-20 19:06:42 +00:00
committed by Gerrit Code Review

View File

@@ -41,6 +41,9 @@ if blkid -t LABEL="config-2" ; then
/usr/local/bin/glean --ssh --skip-network
fi
if [ -f /usr/bin/dpkg ] ; then
test -f /etc/ssh/ssh_host_rsa_key || dpkg-reconfigure openssh-server
fi
if [ -n "$INTERFACE" ]; then
/usr/local/bin/glean --interface $INTERFACE