summaryrefslogtreecommitdiff
path: root/helpers/chroot_hacks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/chroot_hacks')
-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