change find to use keys, fix /etc/docker copying using find

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2016-04-08 14:03:43 +01:00
parent 167123a363
commit 43c22fcffa
2 changed files with 6 additions and 2 deletions

View File

@@ -40,7 +40,11 @@ start()
if mobyconfig exists etc/docker
then
cp -a $(mobyconfig find etc/docker) /etc/docker/
for f in $(mobyconfig find etc/docker)
do
mkdir -p $(dirname $f)
mobyconfig get $f > $f
done
fi
if mobyconfig exists network
then