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. # fail.
# #
# If you are running on a single node and don't need to access the VMs from # 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 # devices other than that node, you can set FLAT_INTERFACE=
# value as ``FLAT_NETWORK_BRIDGE``. This will stop the network hiccup from # This will stop nova from bridging any interfaces into FLAT_NETWORK_BRIDGE.
# occurring. FLAT_INTERFACE=${FLAT_INTERFACE-$GUEST_INTERFACE_DEFAULT}
FLAT_INTERFACE=${FLAT_INTERFACE:-$GUEST_INTERFACE_DEFAULT}
## FIXME(ja): should/can we check that FLAT_INTERFACE is sane? ## FIXME(ja): should/can we check that FLAT_INTERFACE is sane?