Allow people to specifiy the XENAPI_CONNECTION_URL
This is useful when testing host aggregates and not wanting to use the host local management network Change-Id: I0d5d13632c74be8d8b8e7de918e7ff28478af9a6
This commit is contained in:
parent
3993816fe6
commit
92e85601f4
3
stack.sh
3
stack.sh
@ -1266,7 +1266,8 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then
|
||||
FLAT_NETWORK_BRIDGE=$(grep -o 'flat_network_bridge=[^.]*' /proc/cmdline | cut -d= -f 2)
|
||||
read_password XENAPI_PASSWORD "ENTER A PASSWORD TO USE FOR XEN."
|
||||
add_nova_flag "--connection_type=xenapi"
|
||||
add_nova_flag "--xenapi_connection_url=http://169.254.0.1"
|
||||
XENAPI_CONNECTION_URL=${XENAPI_CONNECTION_URL:-"http://169.254.0.1"}
|
||||
add_nova_flag "--xenapi_connection_url=$XENAPI_CONNECTION_URL"
|
||||
add_nova_flag "--xenapi_connection_username=root"
|
||||
add_nova_flag "--xenapi_connection_password=$XENAPI_PASSWORD"
|
||||
add_nova_flag "--noflat_injected"
|
||||
|
Loading…
x
Reference in New Issue
Block a user