path error in docker loading registry-server.tgz

Current directory is $sourcedir/kolla.
So the absolute path should be used.

Change-Id: I77aa46d9085ebaf9573cdd8bd71f848f70c3d4e3
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
This commit is contained in:
Alex Yang 2017-04-18 09:50:24 +08:00
parent 1c717b5d3f
commit a25f94f658
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function kolla_install
fi
cp $imagebakdir/registry-server.tar $imagedir
fi
docker load < ./registry-server.tar
docker load < $imagedir/registry-server.tar
rm -rf $imagedir/tmp
rm -rf $imagedir/registry-*.version
}