openstack-ansible-lxc_conta.../templates/rhel-routes.j2
Kevin Carter b35928cf83 Change the container prep using more intelligent commands
When creating many containers on a single contended host, the execution
of many delegated tasks in parallel results in failure. This patch
consolidates the container prep and networking tasks leveraging the
lxc-rootfs pid path on the physical host instead of relying on delegation.

Change-Id: I0823e34286a0857b539a94604dbe9cdeb8a605f0
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-09-15 02:34:10 +00:00

4 lines
139 B
Django/Jinja

{% for route in item.value.static_routes %}
{{ route['cidr'] }} via {{ route['gateway'] }} dev {{ item.value.interface }}
{% endfor %}