Skip to content

Commit cca790d

Browse files
jschoiRRdhslove
authored andcommitted
공유파일시스템 가상머신 생성시 세팅 오류(변수명 일괄 수정)
1 parent 2fd5ff8 commit cca790d

File tree

1 file changed

+6
-6
lines changed
  • plugins/storage/sharedfs/storagevm/src/main/resources/conf

1 file changed

+6
-6
lines changed

plugins/storage/sharedfs/storagevm/src/main/resources/conf/fsvm-init.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)