diff --git a/pkg/blueprint/installer_customizations.go b/pkg/blueprint/installer_customizations.go index 0d1fc42..864252c 100644 --- a/pkg/blueprint/installer_customizations.go +++ b/pkg/blueprint/installer_customizations.go @@ -1,10 +1,11 @@ package blueprint type InstallerCustomization struct { - Unattended bool `json:"unattended,omitempty" toml:"unattended,omitempty"` - SudoNopasswd []string `json:"sudo-nopasswd,omitempty" toml:"sudo-nopasswd,omitempty"` - Kickstart *Kickstart `json:"kickstart,omitempty" toml:"kickstart,omitempty"` - Modules *AnacondaModules `json:"modules,omitempty" toml:"modules,omitempty"` + Unattended bool `json:"unattended,omitempty" toml:"unattended,omitempty"` + SudoNopasswd []string `json:"sudo-nopasswd,omitempty" toml:"sudo-nopasswd,omitempty"` + Kickstart *Kickstart `json:"kickstart,omitempty" toml:"kickstart,omitempty"` + Modules *AnacondaModules `json:"modules,omitempty" toml:"modules,omitempty"` + Kernel *InstallerKernelCustomization `json:"kernel,omitempty" toml:"kernel,omitempty"` } type Kickstart struct { @@ -15,3 +16,7 @@ type AnacondaModules struct { Enable []string `json:"enable,omitempty" toml:"enable,omitempty"` Disable []string `json:"disable,omitempty" toml:"disable,omitempty"` } + +type InstallerKernelCustomization struct { + Append string `json:"append" toml:"append"` +}