hooks: T7217: remove Dropbear SSH host keys

that may be generated by postinstall scripts
to prevent accidental use of non-unique keys
baked into images
This commit is contained in:
Daniil Baturin 2025-03-17 17:58:33 +00:00
parent 1d1105ccfd
commit 452b17eaca

View File

@ -0,0 +1,7 @@
#!/bin/sh
# Delete Dropbear SSH keys that might be generated
# by postinst scripts
# to prevent non-unique keys from appearing in images
rm -f /etc/dropbear/dropbear_*_host_key