diff options
author | Daniel Baumann <daniel@debian.org> | 2010-11-22 21:51:06 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:28 +0100 |
commit | b25af8dbdaee0a892686933f6c6667cc54f6ff4e (patch) | |
tree | 883796ebdaccd8f23161481f9f7b96d4f8def86c /scripts/build/lb_chroot_hacks | |
parent | 9929ea9183b410f9d2326006c5bc71a8048e020b (diff) | |
download | live-build-b25af8dbdaee0a892686933f6c6667cc54f6ff4e.zip live-build-b25af8dbdaee0a892686933f6c6667cc54f6ff4e.tar.gz |
Simplyfing ssh host key removal.
Diffstat (limited to 'scripts/build/lb_chroot_hacks')
-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 990d5cd..328fff4 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 |