fix syntax error in the if test
switch to using -f rather than -a. This has been overlooked in a review recently merged. Without this fix, devstack on XenServer is broken. Change-Id: I1882cc70528772287241848adea3a520738d4144
This commit is contained in:
parent
e959dbc132
commit
1f8efd93d9
@ -19,12 +19,7 @@
|
|||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
if [ -a /etc/xensource-inventory]
|
[[ -f "/etc/xensource-inventory" ]] && source "/etc/xensource-inventory" || source "/etc/xcp/inventory"
|
||||||
then
|
|
||||||
. /etc/xensource-inventory
|
|
||||||
else
|
|
||||||
. /etc/xcp/inventory
|
|
||||||
fi
|
|
||||||
|
|
||||||
NAME="XenServer OpenStack VPX"
|
NAME="XenServer OpenStack VPX"
|
||||||
DATA_VDI_SIZE="500MiB"
|
DATA_VDI_SIZE="500MiB"
|
||||||
|
Loading…
Reference in New Issue
Block a user