Parsing positional arguments require additional processing
instead of relying on named flags. This change switches to
using a named flag for specifying the toolkit installation directory.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change attempts to load the nvidia, nvidia-uvm, and nvidia-modeset
kernel modules before generating the automatic (jit) CDI specification.
The kernel modules can be controlled by the
nvidia-container-runtime.modes.jit-cdi.load-kernel-modules
config option. If this is set to the empty list, then no kernel modules
are loaded.
Errors in loading the kernel modules are logged, but ignored.
Signed-off-by: Evan Lezar <elezar@nvidia.com>