From 4e60438c6617f087ea066eae9906f6e7c0f69880 Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Tue, 25 Feb 2014 15:18:28 +0100 Subject: [PATCH] Fixed some warnings in 00_regen_ssh_host_keys.sh. --- Changelog.md | 1 + image/00_regen_ssh_host_keys.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog.md b/Changelog.md index 333525a..0b60dae 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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). * Removed some default Ubuntu cron jobs which are not useful in Docker containers. * 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) ## 0.9.6 (release date: 2014-02-17) diff --git a/image/00_regen_ssh_host_keys.sh b/image/00_regen_ssh_host_keys.sh index db98fa4..a639ee8 100755 --- a/image/00_regen_ssh_host_keys.sh +++ b/image/00_regen_ssh_host_keys.sh @@ -2,5 +2,7 @@ set -e if [[ ! -e /etc/ssh/ssh_host_rsa_key ]]; then echo "No SSH host key available. Generating one..." + export LC_ALL=C + export DEBIAN_FRONTEND=noninteractive dpkg-reconfigure openssh-server fi