distro/fedora: Set default target for ami/ec2 image type to multi-user and remove extra console entry in kernel opts

This commit is contained in:
Jordi Gil 2022-04-22 10:46:35 -04:00 committed by Tomáš Hozza
parent 1d0e5c3410
commit 40d5950f1e
5 changed files with 20 additions and 15 deletions

View file

@ -248,6 +248,7 @@ var (
EnabledServices: []string{
"cloud-init.service",
},
DefaultTarget: "multi-user.target",
}
amiImgType = imageType{
@ -259,7 +260,7 @@ var (
osPkgsKey: ec2CommonPackageSet,
},
defaultImageConfig: defaultEc2ImageConfig,
kernelOptions: "ro no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8",
kernelOptions: "ro no_timer_check net.ifnames=0 console=tty1",
bootable: true,
bootType: distro.LegacyBootType,
defaultSize: 6 * GigaByte,