Fixed some warnings in 00_regen_ssh_host_keys.sh.

This commit is contained in:
Hongli Lai (Phusion) committed 2014-02-25 15:18:28 +01:00
1 parent ec719ad255
commit 4e60438c66
2 files changed
+3

No files matched your search

+2
View File
@@ -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