De-duplicate the `qemuStageOptions()` implementation from many distro implementations and move it to the `osbuild2` package as `NewQEMUStageOptions()`. Adjust all affected pipeline implementations. The `NewQEMUStageOptions()` function takes an optional format-specific options argument, instead of a dedicated format-specific options (the previously used qcow2 compat version). This is a preparation to produce VMDK images with a different than default subformat. Add unit test for `NewQEMUStageOptions()`. |
||
|---|---|---|
| .. | ||
| distro.go | ||
| distro_test.go | ||
| package_sets.go | ||
| partition_tables.go | ||
| pipelines.go | ||
| stage_options.go | ||