From f251d6370a2b6d506e9e49d6d15cb3a00270ae9a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Nov 2010 07:57:08 +0100 Subject: [PATCH] Enabling removal of ssh host keys, they are regenerated by live-config. --- scripts/build/lb_chroot_hacks | 4 ++-- 1 file 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