From 3714eb56658b4f3928d8ed56666799d92ff0ae05 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Mon, 17 May 2010 09:42:09 +0200
Subject: Thinking about removing openssh-server hostkeys, as they should be
 regenerated during boot anyway.

---
 helpers/chroot_hacks | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/helpers/chroot_hacks b/helpers/chroot_hacks
index 81af37a..72e7221 100755
--- a/helpers/chroot_hacks
+++ b/helpers/chroot_hacks
@@ -110,6 +110,11 @@ do
 	esac
 done
 
+# Removing openssh-server hostkeys,
+# they are regenerated by live-config.
+#rm -f chroot/etc/ssh/ssh_host_dsa_key chroot/etc/ssh/ssh_host_dsa_key.pub
+#rm -f chroot/etc/ssh/ssh_host_rsa_key chroot/etc/ssh/ssh_host_rsa_key.pub
+
 # Removing udev mac caching rule
 rm -f chroot/etc/udev/rules.d/*persistent-net.rules
 
-- 
cgit v1.0