LXD support (maybe)

Menno Smits menno.smits at canonical.com
Thu Feb 25 22:34:38 UTC 2016


On 26 February 2016 at 04:59, Horacio Duran <horacio.duran at canonical.com>
wrote:

> be aware though, iirc that ppa replaces your go version with 1.6 (or used
> to) which can mess your env if you are using go from ubuntu.
>

With a bit of apt configuration you can use the lxd stable PPA without
pulling in its Go 1.6 packages.

Here's what I did:

$ cat /etc/apt/preferences.d/lxd-stable-pin
Package:  *
Pin: release o=LP-PPA-ubuntu-lxc-lxd-stable
Pin-Priority: 200

Package: lxd lxd-tools lxd-client lxcfs lxc-templates lxc cgmanager
libcgmanager0 libseccomp2
Pin: release o=LP-PPA-ubuntu-lxc-lxd-stable
Pin-Priority: 500

The main problem with this approach is that you have to explicitly specify
the package names you do want to use, which will be a problem if package
names change or extra packages are added. Maybe someone with more apt foo
than me knows a better way.

- Menno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160226/71c9b651/attachment.html>


More information about the Juju-dev mailing list