Skip to content

Commit

Permalink
add note about using qemu-img
Browse files Browse the repository at this point in the history
  • Loading branch information
cfergeau committed Dec 18, 2024
1 parent 5e7353b commit f004b3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/machinedriver/crcimageprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func (puller *CrcImagePuller) Download() error {

slog.Info(fmt.Sprintf("%+v", puller))
slog.Info("file copy", "source", puller.sourcePath, "dest", imagePath.GetPath())
/* need to use qemu-img with a backing file on linux */
/* https://github.com/crc-org/crc/blob/7b69395ff79eeb60c9c9f871933b1b09eb8691f4/pkg/drivers/vfkit/driver_darwin.go#L129-L136 */
if err := copyFile(puller.sourcePath, imagePath.GetPath()); err != nil {
return err
}
Expand Down

0 comments on commit f004b3b

Please sign in to comment.