From: Dave Urschatz <dave.urschatz@cengn.ca>
Date: Tue, 8 Mar 2016 18:28:34 +0000 (-0500)
Subject: Set osd-devices for CENGN Lynx Pod 1
X-Git-Tag: colorado.1.0~230
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F11021%2F2;p=joid.git

Set osd-devices for CENGN Lynx Pod 1

The intent of this change is to use real physical devices
available in the pod for ceph-osd.

JIRA: JOID-50

Change-Id: I5850e015fe11e1bd883dac222bf68061457a879d
Signed-off-by: Dave Urschatz <dave.urschatz@cengn.ca>
---

diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index 555861d8..f65c4dca 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -55,6 +55,8 @@ case "$3" in
          sed -i -- 's/#ext-port: "eth1"/ext-port: "eth1"/g' ./bundles.yaml
         ;;
      'cengnlynxpod1' )
+        # Chose the hard drive(s) to use for CEPH OSD
+         sed -i -- 's|osd-devices: /srv|osd-devices: /dev/sdb|g' ./bundles.yaml
         # As per your lab vip address list be deafult uses 10.4.1.11 - 10.4.1.20
          sed -i -- 's/10.4.1.1/10.120.0.1/g' ./bundles.yaml
         # choose the correct interface to use for data network