XenAPI: Add another plugin directory
Buildroot on 64-bit systems may use /usr/lib64 to store the XAPI plugins Add this as an option to search for. The list is getting of acceptable paths is getting longer but some work is going on in XAPI to allow us to query for this path, which will mean we can get rid of this list in future. Change-Id: I79aafb6a86032c7ab04937c9e9bec08661ecdefa
This commit is contained in:
parent
ce3ba964ed
commit
f3b49e23b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user