Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b87243830e3b5e95fa31a17cf1bfebe55353bf13
      https://github.com/lxc/lxc/commit/b87243830e3b5e95fa31a17cf1bfebe55353bf13
  Author: Felix Abecassis <fabecas...@nvidia.com>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M hooks/nvidia

  Log Message:
  -----------
  hooks: change the semantic of NVIDIA_VISIBLE_DEVICES=""

With LXC, you can override the value of an environment variable to
null, but you can't unset an existing variable.

The NVIDIA hook was previously activated when NVIDIA_VISIBLE_DEVICES
was set to null. As a result, it was not possible to disable the hook
by overriding the environment variable in the configuration.

The hook can now be disabled by setting NVIDIA_VISIBLE_DEVICES to
null or to the new special value "void".

Signed-off-by: Felix Abecassis <fabecas...@nvidia.com>


  Commit: e6bd446c815e90663ec35c14c4a75459fe952b7c
      https://github.com/lxc/lxc/commit/e6bd446c815e90663ec35c14c4a75459fe952b7c
  Author: Christian Brauner <christian.brau...@ubuntu.com>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M hooks/nvidia

  Log Message:
  -----------
  Merge pull request #2126 from 
flx42/nvidia-visible-devices-change-null-semantic

hooks: change the semantic of NVIDIA_VISIBLE_DEVICES=""


Compare: https://github.com/lxc/lxc/compare/b046bbab2e27...e6bd446c815e
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to