mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
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
270e85960b
commit
6902faa74a
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user