Simplyfing ssh host key removal.
This commit is contained in:
parent
d06f0de41f
commit
6240716433
|
@ -129,8 +129,7 @@ done
|
||||||
|
|
||||||
# Removing openssh-server hostkeys,
|
# Removing openssh-server hostkeys,
|
||||||
# they are regenerated by live-config.
|
# 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_*_key chroot/etc/ssh/ssh_host_*_key.pub
|
||||||
rm -f chroot/etc/ssh/ssh_host_rsa_key chroot/etc/ssh/ssh_host_rsa_key.pub
|
|
||||||
|
|
||||||
# Removing udev mac caching rule
|
# Removing udev mac caching rule
|
||||||
rm -f chroot/etc/udev/rules.d/*persistent-net.rules
|
rm -f chroot/etc/udev/rules.d/*persistent-net.rules
|
||||||
|
|
Loading…
Reference in New Issue