summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-17 09:42:09 +0200
committerDaniel Baumann <daniel@debian.org>2010-05-23 12:27:58 +0200
commit9ab0bb3100dd424a82598d79b8e379a2738252bc (patch)
treeb57b2bf47c6dbf717f96d8e22e7257c6b4d8f464 /helpers
parentd1efcbdbdd16ff55be710794467846867e802fe1 (diff)
downloadvyos-live-build-9ab0bb3100dd424a82598d79b8e379a2738252bc.tar.gz
vyos-live-build-9ab0bb3100dd424a82598d79b8e379a2738252bc.zip
Thinking about removing openssh-server hostkeys, as they should be regenerated during boot anyway.
Diffstat (limited to 'helpers')
-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