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_test_common | ||
| fedora33 | ||
| rhel8 | ||
| rhel84 | ||
| rhel85 | ||
| rhel86 | ||
| rhel90 | ||
| rhel90beta | ||
| test_distro | ||
| distro.go | ||
| distro_test.go | ||
| image_config.go | ||
| image_config_test.go | ||
| osrelease_test.go | ||