distro/rhel82: move ami output closer to official ec2 image

This includes adding (and excluding) the right packages, setting the right
systemd boot target, fixing kernel options, changing output type to
.raw.xz, and setting the size of the image to 6GB.
This commit is contained in:
Lars Karlitski 2019-11-27 23:37:33 +01:00
parent 4790e4e593
commit c0516420cc
3 changed files with 106 additions and 44 deletions

View file

@ -3,6 +3,7 @@ package pipeline
type SystemdStageOptions struct {
EnabledServices []string `json:"enabled_services,omitempty"`
DisabledServices []string `json:"disabled_services,omitempty"`
DefaultTarget string `json:"default_target,omitempty"`
}
func (SystemdStageOptions) isStageOptions() {}