f5542103b3
This change updates the lxc-host setup role to build the lxc cache using the download template based on default images found here:[0]. These images are upsteam builds from the greater LXC/D community. This update adds support for Ubuntu 14.04, 16.04 and RHEL/CentOS 7 container types and the cache will be generated from the host Operating system. [0] - https://images.linuxcontainers.org/ Change-Id: Ie13be2322d28178760481c59805101d6aeef4f36 Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk> Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
18 lines
327 B
Django/Jinja
18 lines
327 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
DEVICE={{ lxc_net_bridge }}
|
|
TYPE=Bridge
|
|
IPADDR={{ lxc_net_address }}
|
|
NETMASK={{ lxc_net_netmask }}
|
|
{% if lxc_net_gateway is not none %}
|
|
GATEWAY={{ lxc_net_gateway }}
|
|
{% endif %}
|
|
{% if lxc_net_mtu is defined %}
|
|
MTU={{ lxc_net_mtu }}
|
|
{% endif %}
|
|
ONBOOT=yes
|
|
BOOTPROTO=none
|
|
NM_CONTROLLED=no
|
|
DELAY=0
|
|
STP=no
|