summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-22 21:51:22 +0100
committerDaniel Baumann <daniel@debian.org>2010-11-22 23:20:40 +0100
commit4888c7edbda8aa70267fa30a4cb9110db5dbdeaf (patch)
tree221252e210123a7d7614e5dfd82c1db5fd080785 /scripts
parentb64f67d1b59dbdf03e467ce2ef8ab5b30485b0f4 (diff)
downloadvyos-live-build-4888c7edbda8aa70267fa30a4cb9110db5dbdeaf.tar.gz
vyos-live-build-4888c7edbda8aa70267fa30a4cb9110db5dbdeaf.zip
Simplyfing ssh host key removal.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot_hacks3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index 58d76ac00..2b7c1d68a 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -129,8 +129,7 @@ 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_*_key chroot/etc/ssh/ssh_host_*_key.pub
# Removing udev mac caching rule
rm -f chroot/etc/udev/rules.d/*persistent-net.rules