mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #933 from dmbaturin/T7217-remove-dropbear-keys
hooks: T7217: remove Dropbear SSH host keys at image build time
This commit is contained in:
commit
30d687b5dc
@ -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