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:
Gregory Haynes 2016-04-06 17:11:59 +00:00
parent 677619b1cc
commit 00d9a9d396

View File

@ -14,5 +14,5 @@ set -o pipefail
# simple-init. # simple-init.
if [ -d /etc/ssh ] ; then 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 fi