1
0
mirror of /repos/baseimage-docker.git synced 2025-12-31 08:11:29 +01:00

Fixed some warnings in 00_regen_ssh_host_keys.sh.

This commit is contained in:
Hongli Lai (Phusion) 2014-02-25 15:18:28 +01:00
parent ec719ad255
commit 4e60438c66
No known key found for this signature in database
GPG Key ID: 06A131094B6F4332
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
* Fixed syslog-ng not being able to start because of a missing afsql module. Fixes the issue described in [pull request 7](https://github.com/phusion/baseimage-docker/pull/7). * Fixed syslog-ng not being able to start because of a missing afsql module. Fixes the issue described in [pull request 7](https://github.com/phusion/baseimage-docker/pull/7).
* Removed some default Ubuntu cron jobs which are not useful in Docker containers. * Removed some default Ubuntu cron jobs which are not useful in Docker containers.
* Added the logrotate service. Fixes GH-22. * Added the logrotate service. Fixes GH-22.
* Fixed some warnings in `/etc/my_init.d/00_regen_ssh_host_keys.sh`.
* Fixed some typos in the documentation. (Dr Nic Williams, Tomer Cohen) * Fixed some typos in the documentation. (Dr Nic Williams, Tomer Cohen)
## 0.9.6 (release date: 2014-02-17) ## 0.9.6 (release date: 2014-02-17)

View File

@ -2,5 +2,7 @@
set -e set -e
if [[ ! -e /etc/ssh/ssh_host_rsa_key ]]; then if [[ ! -e /etc/ssh/ssh_host_rsa_key ]]; then
echo "No SSH host key available. Generating one..." echo "No SSH host key available. Generating one..."
export LC_ALL=C
export DEBIAN_FRONTEND=noninteractive
dpkg-reconfigure openssh-server dpkg-reconfigure openssh-server
fi fi