From 3a19d18e41487755e5fd9d48760de6451bb5e6ae Mon Sep 17 00:00:00 2001
From: Vishvananda Ishaya <vishvananda@gmail.com>
Date: Sat, 8 Sep 2012 23:16:40 -0700
Subject: [PATCH] Allow empty FLAT_INTERFACE for local-only access

Change-Id: Icdee4ba6419bb89fd128a1dbd9e792fef6a62f23
---
 stack.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/stack.sh b/stack.sh
index 80ea271d08..f2d5fd6936 100755
--- a/stack.sh
+++ b/stack.sh
@@ -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?