summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/chroot_hacks5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/chroot_hacks b/helpers/chroot_hacks
index 81af37aec..72e722136 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