Skip to content

Commit

Permalink
add cdi config
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Chambers (eos) authored and micahcc committed Feb 25, 2024
1 parent 3dc0ee1 commit 69bec24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ type EngineConfig struct {
// this slice takes precedence.
HooksDir attributedstring.Slice `toml:"hooks_dir,omitempty"`

// Location of CDI configuration files. These define mounts devices and
// other configs according to the CDI spec. In particular this is used
// for GPU passthrough.
CdiSpecDir attributedstring.Slice `toml:"cdi_spec_dir,omitempty"`

// ImageBuildFormat (DEPRECATED) indicates the default image format to
// building container images. Should use ImageDefaultFormat
ImageBuildFormat string `toml:"image_build_format,omitempty"`
Expand Down

0 comments on commit 69bec24

Please sign in to comment.