Skip to content

Commit 919ed8e

Browse files
committed
fix: Use management mode when generating CDI spec
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 4472d37 commit 919ed8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/mig/reconfigure/reconfigure.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ func (r *Reconfigure) createCDISpec() error {
640640
log.Info("Creating management CDI spec (simplified implementation)")
641641

642642
cdiGenerateCommand := exec.Command("nvidia-ctk", "cdi", "generate",
643+
"--mode=management",
643644
"--driver-root="+r.opts.DriverRootCtrPath,
644645
"--dev-root="+r.opts.DevRootCtrPath,
645646
"--vendor=management.nvidia.com",

0 commit comments

Comments
 (0)