Merge "modify registry.2.0.3.tgz can't decompress err"
This commit is contained in:
commit
c24b2baf57
@ -100,12 +100,13 @@ function kolla_install
|
||||
write_install_log "Begin copy images..."
|
||||
if [ -f "/home/kolla_install/docker/registry-2.0.3.tgz" ];then
|
||||
echo "registry-2.0.3.tgz already exist!"
|
||||
tar mxvf registry-2.0.3.tgz
|
||||
cd /home/kolla_install/docker
|
||||
tar mzxvf registry-2.0.3.tgz
|
||||
else
|
||||
mkdir -p /home/kolla_install/docker
|
||||
cd /home/kolla_install/docker
|
||||
wget "ftp://openuser:123@120.76.145.166/registry-2.0.3.tgz"
|
||||
tar mxvf registry-2.0.3.tgz
|
||||
tar mzxvf registry-2.0.3.tgz
|
||||
fi
|
||||
if [ -f "/home/kolla_install/docker/registry-server.tar" ];then
|
||||
echo "registry-server.tar already exist!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user