mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Revert "Merge pull request #694 from elezar/add-opt-in-to-sockets"
This reverts commitb061446694, reversing changes made toc490baab63. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
@@ -89,12 +89,6 @@ func doPrestart() {
|
||||
rootfs := getRootfsPath(container)
|
||||
|
||||
args := []string{getCLIPath(cli)}
|
||||
|
||||
// Only include the nvidia-persistenced socket if it is explicitly enabled.
|
||||
if !hook.Features.IncludePersistencedSocket.IsEnabled() {
|
||||
args = append(args, "--no-persistenced")
|
||||
}
|
||||
|
||||
if cli.Root != "" {
|
||||
args = append(args, fmt.Sprintf("--root=%s", cli.Root))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user