summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-22 21:50:07 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:28 +0100
commit9929ea9183b410f9d2326006c5bc71a8048e020b (patch)
tree11d38360b6d8ceeb64d21ef09ab7a127fee7cffa /scripts
parentbb828f5284e6d1a851d3bf6e49df25639d295d24 (diff)
downloadvyos-live-build-9929ea9183b410f9d2326006c5bc71a8048e020b.tar.gz
vyos-live-build-9929ea9183b410f9d2326006c5bc71a8048e020b.zip
Enabling removal of ssh host keys, they are regenerated by live-config.
Diffstat (limited to 'scripts')
-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 f746b686d..990d5cdca 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