distro/rhel9: update ami to new definitions
Add the image function and remove the pipeline function. Remove the build package set: build packages are added to the pipeline on-demand.
This commit is contained in:
parent
e2f7e1aed4
commit
bd4359ffd9
1 changed files with 2 additions and 3 deletions
|
|
@ -15,8 +15,7 @@ var (
|
||||||
filename: "image.raw",
|
filename: "image.raw",
|
||||||
mimeType: "application/octet-stream",
|
mimeType: "application/octet-stream",
|
||||||
packageSets: map[string]packageSetFunc{
|
packageSets: map[string]packageSetFunc{
|
||||||
buildPkgsKey: ec2BuildPackageSet,
|
osPkgsKey: ec2CommonPackageSet,
|
||||||
osPkgsKey: ec2CommonPackageSet,
|
|
||||||
},
|
},
|
||||||
packageSetChains: map[string][]string{
|
packageSetChains: map[string][]string{
|
||||||
osPkgsKey: {osPkgsKey, blueprintPkgsKey},
|
osPkgsKey: {osPkgsKey, blueprintPkgsKey},
|
||||||
|
|
@ -25,7 +24,7 @@ var (
|
||||||
bootable: true,
|
bootable: true,
|
||||||
bootType: distro.LegacyBootType,
|
bootType: distro.LegacyBootType,
|
||||||
defaultSize: 10 * common.GibiByte,
|
defaultSize: 10 * common.GibiByte,
|
||||||
pipelines: ec2Pipelines,
|
image: liveImage,
|
||||||
buildPipelines: []string{"build"},
|
buildPipelines: []string{"build"},
|
||||||
payloadPipelines: []string{"os", "image"},
|
payloadPipelines: []string{"os", "image"},
|
||||||
exports: []string{"image"},
|
exports: []string{"image"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue