debian-forge-composer/internal/distro/rhel9
Achilleas Koutsou 6374ec022d distro/rhel9: define qcow2 image type in function
The global qcow2ImgType was unconfigured and meant to be used by calling
the mkQcow2ImgType() function.  In the distro initialisation code, the
new variable created from the mkQcow2ImgType() function with the
configuration was shadowing the global variable.  This can lead to
errors in the future where it's not clear which variable is used where.

Putting the definition in a function makes it impossible to use without
configuring.
2022-11-28 17:20:49 +01:00
..
ami.go distro/rhel9: update ec2 and ec2-ha to new definitions 2022-11-28 17:20:49 +01:00
arch.go distro/rhel9: add platform to image type 2022-11-28 17:20:49 +01:00
azure.go distro/rhel9: update azure images to new definitions 2022-11-28 17:20:49 +01:00
bare_metal.go distro/rhel9: update tar image type to new definition 2022-11-28 17:20:49 +01:00
distro.go distro/rhel9: update gce images to new definitions 2022-11-28 17:20:49 +01:00
distro_test.go distro: rename rhel90 -> rhel9 2022-08-17 11:59:39 +02:00
edge.go distro/rhel9: update edge types to new definitions 2022-11-28 17:20:49 +01:00
gce.go distro/rhel9: update gce images to new definitions 2022-11-28 17:20:49 +01:00
images.go distro: set the workload for the image installer pipelines 2022-11-28 17:20:49 +01:00
imagetype.go distro: set ostree ref during package collection 2022-11-28 17:20:49 +01:00
package_sets.go distro/rhel9: separate image type definitions 2022-11-28 17:20:49 +01:00
partition_tables.go distro/rhel9: separate image type definitions 2022-11-28 17:20:49 +01:00
pipelines.go distro/rhel9: cleanup: delete unused functions 2022-11-28 17:20:49 +01:00
qcow2.go distro/rhel9: define qcow2 image type in function 2022-11-28 17:20:49 +01:00
sap.go distro/rhel9: separate image type definitions 2022-11-28 17:20:49 +01:00
stage_options.go distro/rhel9: cleanup: delete unused functions 2022-11-28 17:20:49 +01:00
vmdk.go distro/rhel9: update vmdk image type to new definitions 2022-11-28 17:20:49 +01:00