Simplyfing ssh host key removal.

This commit is contained in:
Daniel Baumann 2010-11-22 21:51:22 +01:00
parent b64f67d1b5
commit 4888c7edbd
1 changed files with 1 additions and 2 deletions

View File

@ -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