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:
parent
36ba2420ad
commit
094083854d
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue