diff options
Diffstat (limited to 'code/install_interface_patch.sh')
-rwxr-xr-x | code/install_interface_patch.sh | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/code/install_interface_patch.sh b/code/install_interface_patch.sh index e0ac0876..7ae83b69 100755 --- a/code/install_interface_patch.sh +++ b/code/install_interface_patch.sh @@ -8,12 +8,17 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -mkdir -p /home/kolla_install/docker -if [ ! -e "/home/kolla_install/docker/registry-mitaka-latest.tgz" ];then - cp registry-mitaka-latest.tgz /home/kolla_install/docker +imagebranch="newton" +imageversion="latest" +imageserver="http://120.24.17.215" +imagedir="/home/kolla_install/docker/" +imagename="kolla-image-$imagebranch-$imageversion.tgz" +mkdir -p $imagedir +if [ ! -e "$imagedir/$imagename" ];then + cp $imagename $imagedir fi -if [ ! -e "/home/kolla_install/docker/registry-server.tar" ];then - cp registry-server.tar /home/kolla_install/docker +if [ ! -e "$imagedir/registry-server.tar" ];then + cp registry-server.tar $imagedir fi cp CentOS-7-x86_64-Minimal-1511.iso /var/lib/daisy/kolla |