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
commit 061669fee2

View File

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