Skip to content

Commit c6b84aa

Browse files
distrodefs: add aliases for ami and qcow2 bootc image types
cockpit-image-builder needs these aliases to map user-facing names to the underlying image types. Translating at the frontend layer is the wrong place for this — the definitions belong in the distrodefs.
1 parent 420c776 commit c6b84aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

data/distrodefs/bootc-generic/imagetypes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,12 @@ image_types:
125125

126126
"ami":
127127
<<: *raw_image_type
128+
aliases: ["aws"]
128129
filename: "disk.raw"
129130

130131
"qcow2": &qcow2_image_type
131132
<<: *raw_image_type
133+
aliases: ["guest-image"]
132134
filename: "disk.qcow2"
133135
mime_type: "application/x-qemu-disk"
134136
exports: ["qcow2"]

0 commit comments

Comments
 (0)