mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
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:
commit
1fb8596636
@ -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