summaryrefslogtreecommitdiffstats
path: root/code/install_interface_patch.sh
diff options
context:
space:
mode:
authorYao Lu <lu.yao135@zte.com.cn>2016-10-25 09:04:16 +0800
committerYao Lu <lu.yao135@zte.com.cn>2016-11-03 10:46:06 +0800
commit6a54cb0cdd4b6a2266134c328a27b9f76e4c2e2f (patch)
tree972698bc266b4943584dc54440bf49a33dab011d /code/install_interface_patch.sh
parent928e693b16310a8934bf20ce9e15eb84ca7d4d4f (diff)
add patch of openstack/daisycloud
the patch is about integrate kolla tar and tgz and centos to daisy bin and cp to appoint path Change-Id: I3043d2a38f15cdff44f9c777bff8bb5e517684bd Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
Diffstat (limited to 'code/install_interface_patch.sh')
-rwxr-xr-xcode/install_interface_patch.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/code/install_interface_patch.sh b/code/install_interface_patch.sh
new file mode 100755
index 00000000..e0ac0876
--- /dev/null
+++ b/code/install_interface_patch.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+##############################################################################
+# Copyright (c) 2016 ZTE Corporation and others.
+# hu.zhijiang@zte.com.cn
+# lu.yao135@zte.com.cn
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# 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
+fi
+if [ ! -e "/home/kolla_install/docker/registry-server.tar" ];then
+ cp registry-server.tar /home/kolla_install/docker
+fi
+cp CentOS-7-x86_64-Minimal-1511.iso /var/lib/daisy/kolla
+