Merge "Add local.sh to dev guides"

This commit is contained in:
Jenkins 2015-05-10 22:26:36 +00:00 committed by Gerrit Code Review
commit 16e7e71467
2 changed files with 15 additions and 0 deletions

View File

@ -79,6 +79,12 @@ for more detailed neutron configuration.::
SCREEN_LOGDIR=$HOME/logs
END
cat > local.sh << END_LOCAL_SH
#!/bin/sh
sudo iptables -t nat -A POSTROUTING -o br-ex -j MASQUERADE
END_LOCAL_SH
chmod 755 local.sh
./stack.sh
At this time, Magnum has only been tested with the Fedora Atomic micro-OS.

View File

@ -143,6 +143,15 @@ guide for details.::
PUBLIC_INTERFACE=eth1
END
Create a local.sh make final networking changes after devstack has spawned. This
will allow Bays spawned by Magnum to access the internet through PUBLIC_INTERFACE.::
cat > /opt/stack/devstack/local.sh << END_LOCAL_SH
#!/bin/sh
sudo iptables -t nat -A POSTROUTING -o br-ex -j MASQUERADE
END_LOCAL_SH
chmod 755 /opt/stack/devstack/local.sh
Run DevStack::
cd /opt/stack/devstack