aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh
diff options
context:
space:
mode:
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-09-06 00:26:34 -0700
committerramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-09-06 00:30:17 -0700
commitc7f0de11b9272fcd2248e259780e744b1ad25532 (patch)
treee6f016e23555484330cff18af85a33f396116b7b /plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh
parent68eb4a8f789ac28bc059a8c620f964cb41fba9c4 (diff)
[stor4nfv] Update os-stor4nfv role for OpenStack deploy
Installs osdsdock in ceph-mon_container. Configures the endpoints for Ceph, OpenSDS and Cindercompatibleapi. Change-Id: I23143a5f53974bf342208b6a801dad05ccb03bfa Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh')
-rw-r--r--plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh b/plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh
index 7d497598..a081c0bd 100644
--- a/plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh
+++ b/plugins/stor4nfv/roles/os-stor4nfv/files/os_configure_vars.sh
@@ -23,3 +23,6 @@ sed -i 's/^opensds_auth_strategy.*/opensds_auth_strategy: noauth/g' group_vars/a
# opensds_endpoint
sed -i 's/^opensds_endpoint.*/opensds_endpoint: http:\/\/'"$1"':50040/g' group_vars/common.yml
+
+# etcd_host
+sed -i 's/^etcd_host.*/etcd_host: '"$2"'/g' group_vars/osdsdb.yml