Issue-ID: SMO-65
Change-Id: Ib5cbbf70d979e28d1fee5ad2935f7a3342181551
Signed-off-by: Masayuki Satsu <satsuu.masayuki@jp.fujitsu.com>
Installation Using Install Script
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-(T.B.D. We will provide install script in smo/o2 repository.)
-
+Usage: ./install.sh [HOST_IP]
+
+This script installs the Tacker via Devstack(Standalone mode).
+It uses the latest repositories(Devstack and Tacker).
+If you want to use other version, you have to change the URL.
+e.g.
+git clone https://opendev.org/openstack-dev/devstack -b stable/yoga
+wget https://opendev.org/openstack/tacker/raw/branch/stable/yoga/devstack/local.conf.standalone
Manual Installation
~~~~~~~~~~~~~~~~~~~
--- /dev/null
+#!/usr/bin/env bash
+
+if [[ `whoami` != "stack" ]]
+then
+ echo "You are not stack user."
+ echo https://docs.openstack.org/devstack/latest/#add-stack-user-optional
+ exit 1
+fi
+
+if [ $# != 1 ]; then
+ echo Parameter error: usage: ./install.sh [HOST_IP]
+ exit 1
+fi
+
+git clone https://git.openstack.org/openstack-dev/devstack
+cd devstack
+
+wget https://opendev.org/openstack/tacker/raw/branch/master/devstack/local.conf.standalone
+sed -e "s/127.0.0.1/$1/g" local.conf.standalone > local.conf
+
+./stack.sh