mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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:
parent
1d1105ccfd
commit
452b17eaca
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user