[lxc-devel] [lxc/lxc] b87243: hooks: change the semantic of NVIDIA_VISIBLE_DEVIC...
GitHub
noreply at github.com
Fri Feb 2 15:11:51 UTC 2018
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: b87243830e3b5e95fa31a17cf1bfebe55353bf13
https://github.com/lxc/lxc/commit/b87243830e3b5e95fa31a17cf1bfebe55353bf13
Author: Felix Abecassis <fabecassis at 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 <fabecassis at nvidia.com>
Commit: e6bd446c815e90663ec35c14c4a75459fe952b7c
https://github.com/lxc/lxc/commit/e6bd446c815e90663ec35c14c4a75459fe952b7c
Author: Christian Brauner <christian.brauner at 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
More information about the lxc-devel
mailing list