From f7e04aca740f4de98889757155bd89841b815b09 Mon Sep 17 00:00:00 2001 From: Dmitry Teselkin Date: Tue, 21 May 2013 19:41:09 +0400 Subject: [PATCH] Small fix in post-stack.sh script Change-Id: Ie8a751c5a5dca1c995799016f054718672b9e0cb --- devstack-scripts/post-stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack-scripts/post-stack.sh b/devstack-scripts/post-stack.sh index 571dba42..0f9c09db 100755 --- a/devstack-scripts/post-stack.sh +++ b/devstack-scripts/post-stack.sh @@ -42,7 +42,7 @@ function glance_image_create { if [[ $NETWORK_MODE == "nova" ]] ; then if [[ ',standalone,compute,' =~ ,$INSTALL_MODE, ]] ; then echo "Adding iptables rule to allow Internet access from instances..." - __iptables_rule="POSTROUTING -t nat -s '$FIXED_RANGE' ! -d '$FIXED_RANGE' -j MASQUERADE" + __iptables_rule="POSTROUTING -t nat -s $FIXED_RANGE ! -d $FIXED_RANGE -j MASQUERADE" sudo iptables -C $__iptables_rule if [[ $? == 0 ]] ; then echo "Iptables rule already exists."