use vpc type in call to qemu-img for vhd images

vhd images currently use qcow2 format, because osbuild does not support
vpc yet, but it should land soon in related PR
This commit is contained in:
Martin Sehnoutka 2019-11-21 13:29:52 +01:00 committed by Tom Gundersen
parent e98b189b82
commit ea73597c5d

View file

@ -29,7 +29,7 @@ func (t *vhdOutput) translate(b *blueprint.Blueprint) (*pipeline.Pipeline, error
addF30GRUB2Stage(p, b.GetKernelCustomization())
addF30FixBlsStage(p)
addF30SELinuxStage(p)
addF30QemuAssembler(p, "qcow2", t.getName())
addF30QemuAssembler(p, "vpc", t.getName())
if b.Customizations != nil {
err := customizeAll(p, b.Customizations)