Update the version of LXC installed to the latest stable
This change updates the installation of LXC on Ubuntu 14.04 to be the latest stable release. The change will, at the time of this commit, use LXC version 2.0.x as the base version. By updating we'll be able to take advantage of the various performance and stability enhancements that have been created since the release of 2.x. This also brings our Ubuntu 14.04 installations in line with Ubuntu 16.04 and CentOS7 such that we're using a single supported release. Change-Id: I29220bee11401cc424ef54160cc873b8fc395dd1 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
9606ff116a
commit
5606ea555b
6
releasenotes/notes/upgrade-lxc-4750ba9aea7b5cd1.yaml
Normal file
6
releasenotes/notes/upgrade-lxc-4750ba9aea7b5cd1.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- Hosts running LXC on Ubuntu 14.04 will now need to enable
|
||||
the "trusty-backports" repository. The backports repo on
|
||||
Ubuntu 14.04 is now required to ensure LXC is updated to
|
||||
the latest stable version.
|
@ -33,7 +33,8 @@
|
||||
- name: Install apt packages
|
||||
apt:
|
||||
pkg: "{{ item }}"
|
||||
state: present
|
||||
state: latest
|
||||
default_release: "{{ lxc_default_release | default(omit) }}"
|
||||
register: install_packages
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
|
@ -122,3 +122,5 @@ lxc_cache_packages:
|
||||
lxc_cached_network_interfaces:
|
||||
- src: "lxc-net-bridge.cfg.j2"
|
||||
dest: "/etc/network/interfaces.d/lxc-net-bridge.cfg"
|
||||
|
||||
lxc_default_release: "trusty-backports"
|
||||
|
Loading…
Reference in New Issue
Block a user