diff options
author | Daniel Baumann <daniel@debian.org> | 2010-11-22 21:51:22 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:20:36 +0100 |
commit | 62407164333f2ad554fdf721bba094736aac168a (patch) | |
tree | 221252e210123a7d7614e5dfd82c1db5fd080785 | |
parent | d06f0de41f86020e6354143707c3146bccd9638a (diff) | |
download | vyos-live-build-62407164333f2ad554fdf721bba094736aac168a.tar.gz vyos-live-build-62407164333f2ad554fdf721bba094736aac168a.zip |
Simplyfing ssh host key removal.
-rwxr-xr-x | scripts/build/lb_chroot_hacks | 3 |
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 |