Allow empty FLAT_INTERFACE for local-only access

Change-Id: Icdee4ba6419bb89fd128a1dbd9e792fef6a62f23
This commit is contained in:
Vishvananda Ishaya 2012-09-08 23:16:40 -07:00
parent 3ceb380012
commit 3a19d18e41

View File

@ -447,10 +447,9 @@ MULTI_HOST=`trueorfalse False $MULTI_HOST`
# fail.
#
# If you are running on a single node and don't need to access the VMs from
# devices other than that node, you can set the flat interface to the same
# value as ``FLAT_NETWORK_BRIDGE``. This will stop the network hiccup from
# occurring.
FLAT_INTERFACE=${FLAT_INTERFACE:-$GUEST_INTERFACE_DEFAULT}
# devices other than that node, you can set FLAT_INTERFACE=
# This will stop nova from bridging any interfaces into FLAT_NETWORK_BRIDGE.
FLAT_INTERFACE=${FLAT_INTERFACE-$GUEST_INTERFACE_DEFAULT}
## FIXME(ja): should/can we check that FLAT_INTERFACE is sane?