Merge "Add local.sh to dev guides"
This commit is contained in:
commit
16e7e71467
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue