distro/rhel90: enable cloud-init

cloud-init was enabled explicitly in the image-factory kickstart and thus we
need to explicitly enable it too.

Fixes: rhbz#1960309
Fixes: COMPOSER-920
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-05-14 13:10:11 +02:00 committed by Ondřej Budai
parent bb60905309
commit a19b883727
5 changed files with 54 additions and 24 deletions

View file

@ -822,6 +822,12 @@ func newDistro(name string) distro.Distro {
"rng-tools",
"udisks2",
},
enabledServices: []string{
"cloud-init.service",
"cloud-config.service",
"cloud-final.service",
"cloud-init-local.service",
},
defaultTarget: "multi-user.target",
kernelOptions: "console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto",
bootable: true,