mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-15 17:23:10 +09:00
im-collectd: change the directory name to detect xen4
This commit is contained in:
1 parent
9ff64ab98c
commit
f9193f44eb
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user