Fix ssh key cleanup to run in chroot
Right now this removes the ssh keys on the build host. Obviously this is not what we want. Change-Id: Ib01d71ff9415a0ae04d963f6e380aab9ac2260ce
This commit is contained in:
parent
677619b1cc
commit
00d9a9d396
@ -14,5 +14,5 @@ set -o pipefail
|
||||
# simple-init.
|
||||
|
||||
if [ -d /etc/ssh ] ; then
|
||||
sudo find /etc/ssh -name 'ssh_host*' -type f -delete
|
||||
sudo find $TARGET_ROOT/etc/ssh -name 'ssh_host*' -type f -delete
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user