summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-17 09:42:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:08 +0100
commit3714eb56658b4f3928d8ed56666799d92ff0ae05 (patch)
treeb57b2bf47c6dbf717f96d8e22e7257c6b4d8f464
parent73090fe9956085216cbf9b52ae9b9cfcc1a32ac3 (diff)
downloadlive-build-3714eb56658b4f3928d8ed56666799d92ff0ae05.zip
live-build-3714eb56658b4f3928d8ed56666799d92ff0ae05.tar.gz
Thinking about removing openssh-server hostkeys, as they should be regenerated during boot anyway.
-rwxr-xr-xhelpers/chroot_hacks5
1 files changed, 5 insertions, 0 deletions
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