Create pkg/machine/ignition package

Moves all of the ignitionfiles out of the `machine` package and into
its own called `ignition`. This required `VMType` to get moved out of
the `machine` package and into the `define` package in order to prevent
a circular dependency.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
This commit is contained in:
Jake Correnti committed 2024-01-04 08:51:35 -05:00
1 parent de797e5724
commit c728eeb39e
33 files changed
+259 -173

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ type GenericDownload struct {
}
// NewGenericDownloader is used when the disk image is provided by the user
func NewGenericDownloader(vmType VMType, vmName, pullPath string) (DistributionDownload, error) {
func NewGenericDownloader(vmType define.VMType, vmName, pullPath string) (DistributionDownload, error) {
var (
imageName string
)