summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-08-23 17:10:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-08-23 17:10:38 +0200
commit9a59c0a2d65dde87839e9d184a9e561885b8b743 (patch)
tree6048ade60372a2cbbe4e0e18e7cbeb94f7945b87 /scripts/build
parent535e9a5d947fc62c2dfe00d4f668e9277c48c649 (diff)
downloadvyos-live-build-9a59c0a2d65dde87839e9d184a9e561885b8b743.tar.gz
vyos-live-build-9a59c0a2d65dde87839e9d184a9e561885b8b743.zip
Moving removal of openssh-server host keys from chroot_hacks to a hook, that way it can be easily skipped if desired.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_chroot_hacks4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index 57f5769fa..501352f15 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -140,10 +140,6 @@ do
esac
done
-# Removing openssh-server hostkeys,
-# they are regenerated by live-config.
-rm -f chroot/etc/ssh/ssh_host_*_key chroot/etc/ssh/ssh_host_*_key.pub
-
# Removing udev mac caching rule
rm -f chroot/etc/udev/rules.d/*persistent-net.rules