Add nat rules for solar-dev to provide internet connectivity for slaves

This commit is contained in:
Evgeniy L 2015-10-29 18:20:50 +03:00
parent 5f17cadcb5
commit 55ca3434cf

View File

@ -61,3 +61,6 @@
- shell: 'pip install git+git://github.com/prmtl/fuel-agent.git@detach_from_nailgun#egg=fuel_agent'
- shell: pip install git+https://github.com/Mirantis/bareon-api.git
- shell: 'bareon-api &'
# Add nat rules so slaves have internet access via solar-dev
- shell: iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE