distros/f30/ami: image type should be RAW
This was accidentally left as QCOW2. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
eee08c41ac
commit
283e89d0f4
4 changed files with 6 additions and 6 deletions
|
|
@ -30,7 +30,7 @@ func (t *amiOutput) translate(b *blueprint.Blueprint) (*pipeline.Pipeline, error
|
|||
addF30FSTabStage(p)
|
||||
addF30GRUB2Stage(p, nil)
|
||||
addF30SELinuxStage(p)
|
||||
addF30QemuAssembler(p, "qcow2", t.getName())
|
||||
addF30QemuAssembler(p, "raw", t.getName())
|
||||
|
||||
if b.Customizations != nil {
|
||||
err := customizeAll(p, b.Customizations)
|
||||
|
|
@ -46,5 +46,5 @@ func (t *amiOutput) getName() string {
|
|||
}
|
||||
|
||||
func (t *amiOutput) getMime() string {
|
||||
return "application/x-qemu-disk"
|
||||
return "application/octet-stream"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ func TestFilenameFromType(t *testing.T) {
|
|||
name: "ami",
|
||||
args: args{"ami"},
|
||||
want: "image.ami",
|
||||
want1: "application/x-qemu-disk",
|
||||
want1: "application/octet-stream",
|
||||
},
|
||||
{
|
||||
name: "ext4",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue