Commit 1fb85966 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

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).
parents 120d2519 6902faa7
...@@ -49,7 +49,7 @@ attach() { ...@@ -49,7 +49,7 @@ attach() {
VG=$(echo $1|jq -r '.volumegroup') VG=$(echo $1|jq -r '.volumegroup')
# LVM substitutes - with -- # LVM substitutes - with --
VOLUMEID= `echo $VOLUMEID|sed s/-/--/g` VOLUMEID=`echo $VOLUMEID|sed s/-/--/g`
VG=`echo $VG|sed s/-/--/g` VG=`echo $VG|sed s/-/--/g`
DMDEV="/dev/mapper/${VG}-${VOLUMEID}" DMDEV="/dev/mapper/${VG}-${VOLUMEID}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment