1
0
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:
Javi Fontan 2013-10-31 18:41:43 +01:00
parent 9ff64ab98c
commit f9193f44eb

View File

@ -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"