This is still just a placeholder, and in particular the live CD support is not right. Signed-off-by: Tom Gundersen <teg@jklm.no>
22 lines
432 B
Go
22 lines
432 B
Go
package blueprint
|
|
|
|
import "osbuild-composer/internal/pipeline"
|
|
|
|
type vhdOutput struct{}
|
|
|
|
func (t *vhdOutput) translate(b *Blueprint) *pipeline.Pipeline {
|
|
p := getF30Pipeline()
|
|
addF30FSTabStage(p)
|
|
addF30GRUB2Stage(p)
|
|
addF30SELinuxStage(p)
|
|
addF30QemuAssembler(p, "qcow2", t.getName())
|
|
return p
|
|
}
|
|
|
|
func (t *vhdOutput) getName() string {
|
|
return "image.vhd"
|
|
}
|
|
|
|
func (t *vhdOutput) getMime() string {
|
|
return "application/x-vhd"
|
|
}
|