On Thu, May 18, 2017 at 08:09:05AM -0000, Konstantinos Tsakalozos wrote:
> I can confirm that "ls -al /dev/dri/" within the lxc container shows the
> devices you expect. However, "lxc config show xen2" shows the devices
> section being empty.

This isn't a bug at all. :) You're adding a device to a profile the container is
attached to. By definition it will thus not be in the container's config file.
The container will just gather all the devices it needs to create and setup from
the profile it is attached to. It will never show up in the container's config
file unless you explicitly add it.


** Changed in: lxc (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1690822

Title:
  GPU device in lxc profile ignored?

Status in lxc package in Ubuntu:
  Invalid

Bug description:
  I am trying to add the gpu device in an profile so that new containers
  come up with gpu available.

  Even though the gpu device is in the profile it seems it is ignored.
  In this pastebin http://pastebin.ubuntu.com/24579662/ you can see the
  profile with the gpu device. We add a new container (juju add-unit)
  and we check if the device is there. It is not, so we add it (lxc
  config device add) after the container comes up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1690822/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to