simple-init: Fix path for /etc/ssh test
The cleanup path was fixed, but not the actual test. Change-Id: If9ff4ee55604fa317a9a5bda0eee0b2783ef079a
This commit is contained in:
parent
67bef7ed16
commit
4ceb40e13d
@ -13,6 +13,6 @@ set -o pipefail
|
|||||||
# TODO(greghaynes) This should be a thing we do for all images, not just
|
# TODO(greghaynes) This should be a thing we do for all images, not just
|
||||||
# simple-init.
|
# simple-init.
|
||||||
|
|
||||||
if [ -d /etc/ssh ] ; then
|
if [ -d $TARGET_ROOT/etc/ssh ] ; then
|
||||||
sudo find $TARGET_ROOT/etc/ssh -name 'ssh_host*' -type f -delete
|
sudo find $TARGET_ROOT/etc/ssh -name 'ssh_host*' -type f -delete
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user