mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Bug #2271: rados command doesn't need sudo
This commit is contained in:
parent
3c8dbd669a
commit
72dc5e70a4
@ -54,7 +54,7 @@ POOL_NAME="${XPATH_ELEMENTS[1]:-$POOL_NAME}"
|
||||
# ------------ Compute datastore usage -------------
|
||||
|
||||
MONITOR_SCRIPT=$(cat <<EOF
|
||||
$SUDO $RADOS df | $AWK '{
|
||||
$RADOS df | $AWK '{
|
||||
if (\$1 == "total") {
|
||||
|
||||
space = int(\$3/1024)
|
||||
|
Loading…
x
Reference in New Issue
Block a user