Merge "simple-init: Fix path for /etc/ssh test"
This commit is contained in:
commit
146be596f6
@ -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…
x
Reference in New Issue
Block a user