mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +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')
|
||||
|
||||
# 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
Block a user