distro: add Authconfig to ImageConfig
Add it to all distros (8.6, 9.0) that support using ImageConfig.
This commit is contained in:
parent
24d8790f9d
commit
adfdb2cd39
3 changed files with 12 additions and 0 deletions
|
|
@ -528,6 +528,10 @@ func osPipeline(t *imageType,
|
|||
p.AddStage((osbuild.NewSshdConfigStage(sshdConfig)))
|
||||
}
|
||||
|
||||
if authConfig := imageConfig.Authconfig; authConfig != nil {
|
||||
p.AddStage(osbuild.NewAuthconfigStage(authConfig))
|
||||
}
|
||||
|
||||
if pt != nil {
|
||||
kernelOptions := osbuild.GenImageKernelOptions(pt)
|
||||
if t.kernelOptions != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue