File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
plugins/storage/sharedfs/storagevm/src/main/resources/conf Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,18 @@ write_files:
3131 get_block_device() {
3232 if [ "$HYPERVISOR" == "kvm" ]; then
3333 BLOCK_DEVICE="sdb"
34- if [ -n "$(blkid /dev/$BLOCK_DEV )" ]; then
35- BLOCK_DEV ="sda"
34+ if [ -n "$(blkid /dev/$BLOCK_DEVICE )" ]; then
35+ BLOCK_DEVICE ="sda"
3636 fi
3737 elif [ "$HYPERVISOR" == "xenserver" ]; then
3838 BLOCK_DEVICE="xvdb"
39- if [ -n "$(blkid /dev/$BLOCK_DEV )" ]; then
40- BLOCK_DEV ="xvda"
39+ if [ -n "$(blkid /dev/$BLOCK_DEVICE )" ]; then
40+ BLOCK_DEVICE ="xvda"
4141 fi
4242 elif [ "$HYPERVISOR" == "vmware" ]; then
4343 BLOCK_DEVICE="sdb"
44- if [ -n "$(blkid /dev/$BLOCK_DEV )" ]; then
45- BLOCK_DEV ="sda"
44+ if [ -n "$(blkid /dev/$BLOCK_DEVICE )" ]; then
45+ BLOCK_DEVICE ="sda"
4646 fi
4747 else
4848 log "Unknown hypervisor"
You can’t perform that action at this time.
0 commit comments