summaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-09-09 10:16:18 +0800
committerYuenan Li <liyuenan@huawei.com>2016-09-14 00:54:42 +0000
commiteb4f5a098ddb31bc85f3fcdcaf503345422f1b79 (patch)
tree574dc61f54dc8f26755696ae0a90e7ad194a7748 /run.sh
parenta2fc2124740877d26061ecd9b1d3f573771e683c (diff)
Add a run.sh
Add a run.sh for deploy openstack and edit instruction Change-Id: I3937ca59c12c53a7a1828138b3d70d8cb42a8fbe Signed-off-by: liyuenan <liyuenan@huawei.com> (cherry picked from commit 1a86484f46af06ebd9b272e79946ba6fab114e33)
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh49
1 files changed, 49 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 00000000..d6721565
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,49 @@
+#!/bin/bash
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+# ISO_URL is your iso's absolute path
+# export ISO_URL=file:///home/compass/compass4nfv.iso
+# or
+# export ISO_URL=http://artifacts.opnfv.org/compass4nfv/colorado/opnfv-colorado.1.0.iso
+export ISO_URL=
+
+# DHA is your dha.yml's path
+# export DHA=/home/compass4nfv/deploy/conf/vm_environment/os-nosdn-nofeature-ha.yml
+export DHA=
+
+# NETWORK is your network.yml's path
+# export NETWORK=/home/compass4nfv/deploy/conf/vm_environment/huawei-virtual1/network.yml
+export NETWORK=
+
+# node number when you virtual deploy
+# export VIRT_NUMBER=5
+
+########## Ubuntu14.04 Mitaka ##########
+export OS_VERSION=trusty
+export OPENSTACK_VERSION=mitaka
+
+########## Ubuntu16.04 Mitaka ##########
+# export OS_VERSION=xenial
+# export OPENSTACK_VERSION=mitaka_xenial
+
+########## Centos7 Mitaka ##########
+# export OS_VERSION=centos7
+# export OPENSTACK_VERSION=mitaka
+
+########## Hardware Deploy Jumpserver PXE NIC ##########
+# you need comment out it when virtual deploy
+# export INSTALL_NIC=eth1
+
+########## Deploy or Redeploy ##########
+# export DEPLOY_HOST="true"
+# export DEPLOY_FIRST_TIME="false"
+
+./deploy.sh
+