mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
im-collectd: change the directory name to detect xen4
This commit is contained in:
parent
9ff64ab98c
commit
f9193f44eb
@ -21,7 +21,7 @@ require "pp"
|
||||
XENTOP_PATH="/usr/sbin/xentop"
|
||||
|
||||
dir=File.basename(Dir.pwd)
|
||||
if dir=='xen4.d'
|
||||
if dir.match(/^xen4/)
|
||||
XM_PATH="/usr/sbin/xl"
|
||||
else
|
||||
XM_PATH="/usr/sbin/xm"
|
||||
|
Loading…
x
Reference in New Issue
Block a user