Merge "XenAPI: Add another plugin directory"

This commit is contained in:
Jenkins
2014-12-10 02:41:50 +00:00
committed by Gerrit Code Review

View File

@@ -10,7 +10,7 @@ function die_with_error {
}
function xapi_plugin_location {
for PLUGIN_DIR in "/etc/xapi.d/plugins/" "/usr/lib/xcp/plugins/" "/usr/lib/xapi/plugins"; do
for PLUGIN_DIR in "/etc/xapi.d/plugins/" "/usr/lib/xcp/plugins/" "/usr/lib/xapi/plugins" "/usr/lib64/xapi/plugins"; do
if [ -d $PLUGIN_DIR ]; then
echo $PLUGIN_DIR
return 0