Correct bad var name 25/5925/1
authorDavid Blaisonneau <david.blaisonneau@orange.com>
Fri, 8 Jan 2016 13:52:54 +0000 (14:52 +0100)
committerDavid Blaisonneau <david.blaisonneau@orange.com>
Fri, 8 Jan 2016 13:53:42 +0000 (14:53 +0100)
Change-Id: I3d582d02c16fd3124d8ef89a9ab02b9426979d08
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
jjb/joid/joid-deploy.sh

index ad42489..59c66e4 100644 (file)
@@ -81,7 +81,7 @@ fi
 #Find the first line of osd-devices to change the one for ceph, then the other for ceph-osd
 CEPH_DEV_LINE=$(grep -nr osd-devices $SRCBUNDLE |head -n1|cut -d: -f1)
 sed -i -- "${CEPH_DEV_LINE}s@osd-devices: /srv@osd-devices: $CEPH_DISKS@" $SRCBUNDLE
-sed -i -- "s@osd-devices: /srv@osd-devices: $CEPH_DISKS_CONTROLERS@" $SRCBUNDLE
+sed -i -- "s@osd-devices: /srv@osd-devices: $CEPH_DISKS_CONTROLLERS@" $SRCBUNDLE
 sed -i -r -- "s/^(\s+osd-reformat: )'no'/\1'$CEPH_REFORMAT'/" $SRCBUNDLE
 
 ##