mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
bug #4092: fix units in lvm monitor
(cherry picked from commit 6975b168592c8b06714fc548e8809d609fe0ef26)
This commit is contained in:
parent
41add4229e
commit
4559af4373
@ -62,7 +62,7 @@ fi
|
||||
MONITOR_SCRIPT=$(cat <<EOF
|
||||
set -e
|
||||
|
||||
VG_OPTS="--units M -C --noheadings --nosuffix $VG_NAME"
|
||||
VG_OPTS="--units m -C --noheadings --nosuffix $VG_NAME"
|
||||
|
||||
TOTAL_MB=\$($SUDO $VGDISPLAY -o vg_size \$VG_OPTS | $TR -d ' ')
|
||||
FREE_MB=\$($SUDO $VGDISPLAY -o vg_free \$VG_OPTS | $TR -d ' ')
|
||||
|
Loading…
x
Reference in New Issue
Block a user