nova-manage network commands only when n-net enabled
This patch checks if n-net is enabled rather than any nova service before creating networks through nova. Fixes bug 1073313 Change-Id: I8810737ddbb26a5e281060f5395cfad5d186b6d3
This commit is contained in:
parent
35dee27042
commit
8ec719b4d4
2
stack.sh
2
stack.sh
@ -1916,7 +1916,7 @@ if is_service_enabled q-svc; then
|
||||
fi
|
||||
fi
|
||||
|
||||
elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled nova; then
|
||||
elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-net; then
|
||||
# Create a small network
|
||||
$NOVA_BIN_DIR/nova-manage network create "$PRIVATE_NETWORK_NAME" $FIXED_RANGE 1 $FIXED_NETWORK_SIZE $NETWORK_CREATE_ARGS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user