distro: enable cloud-init services for openstack and qcow2 images for fedora
Previously, cloud-init was installed on qcow and openstack images but was not enabled, preventing a user from logging in to these images. Cloud-init, cloud-final, cloud-init-local and cloud-config services are enabled to make cloud-init work and to maintain consistency with official fedora 31 and fedora 32 images. The image tests have been updated to reflect these changes. Fixes #698
This commit is contained in:
parent
f38d55da88
commit
ae3fb5e1c5
12 changed files with 148 additions and 28 deletions
|
|
@ -242,6 +242,12 @@ func New() *Fedora31 {
|
|||
"gobject-introspection",
|
||||
"plymouth",
|
||||
},
|
||||
enabledServices: []string{
|
||||
"cloud-init.service",
|
||||
"cloud-config.service",
|
||||
"cloud-final.service",
|
||||
"cloud-init-local.service",
|
||||
},
|
||||
kernelOptions: "ro biosdevname=0 net.ifnames=0",
|
||||
bootable: true,
|
||||
defaultSize: 2 * GigaByte,
|
||||
|
|
@ -269,6 +275,12 @@ func New() *Fedora31 {
|
|||
excludedPackages: []string{
|
||||
"dracut-config-rescue",
|
||||
},
|
||||
enabledServices: []string{
|
||||
"cloud-init.service",
|
||||
"cloud-config.service",
|
||||
"cloud-final.service",
|
||||
"cloud-init-local.service",
|
||||
},
|
||||
kernelOptions: "ro biosdevname=0 net.ifnames=0",
|
||||
bootable: true,
|
||||
defaultSize: 2 * GigaByte,
|
||||
|
|
|
|||
|
|
@ -626,6 +626,12 @@ func New() distro.Distro {
|
|||
"gobject-introspection",
|
||||
"plymouth",
|
||||
},
|
||||
enabledServices: []string{
|
||||
"cloud-init.service",
|
||||
"cloud-config.service",
|
||||
"cloud-final.service",
|
||||
"cloud-init-local.service",
|
||||
},
|
||||
kernelOptions: "ro biosdevname=0 net.ifnames=0",
|
||||
bootable: true,
|
||||
defaultSize: 2 * GigaByte,
|
||||
|
|
@ -653,6 +659,12 @@ func New() distro.Distro {
|
|||
excludedPackages: []string{
|
||||
"dracut-config-rescue",
|
||||
},
|
||||
enabledServices: []string{
|
||||
"cloud-init.service",
|
||||
"cloud-config.service",
|
||||
"cloud-final.service",
|
||||
"cloud-init-local.service",
|
||||
},
|
||||
kernelOptions: "ro biosdevname=0 net.ifnames=0",
|
||||
bootable: true,
|
||||
defaultSize: 2 * GigaByte,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue