Merge pull request #27033 from zefciu/lvm-fix

Automatic merge from submit-queue

Fixed an error in lvm bash script

The space in this script is an obvious typo and caused an error
(trying to call volume_id as command).
This commit is contained in:
k8s-merge-robot 2016-06-24 13:56:55 -07:00 committed by GitHub
commit 1fb8596636

View File

@ -49,7 +49,7 @@ attach() {
VG=$(echo $1|jq -r '.volumegroup')
# LVM substitutes - with --
VOLUMEID= `echo $VOLUMEID|sed s/-/--/g`
VOLUMEID=`echo $VOLUMEID|sed s/-/--/g`
VG=`echo $VG|sed s/-/--/g`
DMDEV="/dev/mapper/${VG}-${VOLUMEID}"