distro/fedora: produce VMDK as stream-optimized
Added code in fedora/pipelines.go to add the subformat field in the manifests Added manifests for f34 and f35 for x86_64 only (image type not available in aarch64)
This commit is contained in:
parent
3a079eec26
commit
69095f5034
3 changed files with 5 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ func vmdkPipelines(t *imageType, customizations *blueprint.Customizations, optio
|
|||
imagePipeline := liveImagePipeline(treePipeline.Name, diskfile, partitionTable, t.arch, kernelVer)
|
||||
pipelines = append(pipelines, *imagePipeline)
|
||||
|
||||
qemuPipeline := qemuPipeline(imagePipeline.Name, diskfile, t.filename, osbuild.QEMUFormatVMDK, nil)
|
||||
qemuPipeline := qemuPipeline(imagePipeline.Name, diskfile, t.filename, osbuild.QEMUFormatVMDK, osbuild.VMDKOptions{Subformat: osbuild.VMDKSubformatStreamOptimized})
|
||||
pipelines = append(pipelines, *qemuPipeline)
|
||||
return pipelines, nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5008,7 +5008,8 @@
|
|||
"options": {
|
||||
"filename": "disk.vmdk",
|
||||
"format": {
|
||||
"type": "vmdk"
|
||||
"type": "vmdk",
|
||||
"subformat": "streamOptimized"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5224,7 +5224,8 @@
|
|||
"options": {
|
||||
"filename": "disk.vmdk",
|
||||
"format": {
|
||||
"type": "vmdk"
|
||||
"type": "vmdk",
|
||||
"subformat": "streamOptimized"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue