summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-13 07:57:08 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:35 +0100
commit868353f0b378f5cb1bec6fa23c85524e3917ead9 (patch)
treec8d57b6bea8911090f09f45cdf78c4ffafd6e4d3
parent4c3488ce38348221b9f43bba61702daa9e4faa25 (diff)
downloadvyos-live-build-868353f0b378f5cb1bec6fa23c85524e3917ead9.tar.gz
vyos-live-build-868353f0b378f5cb1bec6fa23c85524e3917ead9.zip
Enabling removal of ssh host keys, they are regenerated by live-config.
-rwxr-xr-xscripts/build/lb_chroot_hacks4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index 61b0a7036..58d76ac00 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -129,8 +129,8 @@ 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
+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