lima icon indicating copy to clipboard operation
lima copied to clipboard

pkg/driverutil.EnsureDisk: diskImageFormat is ignored for ISO mode

Open AkihiroSuda opened this issue 1 year ago • 2 comments

https://github.com/lima-vm/lima/blob/cbe724175131421dd9efc530710ca6ae28eb2d88/pkg/driverutil/disk.go#L21-L61


diskImageFormat is ignored for ISO mode

Originally posted by @AkihiroSuda in https://github.com/lima-vm/lima/pull/4327#discussion_r2575858599

AkihiroSuda avatar Dec 01 '25 07:12 AkihiroSuda

Hi @AkihiroSuda, is it because we are not converting ISO to any other format? I think in that case we can skip diskImageFormat.

ashwat287 avatar Dec 01 '25 11:12 ashwat287

Hi @AkihiroSuda, is it because we are not converting ISO to any other format? I think in that case we can skip diskImageFormat.

No, I'm talking about the image newly created in L43.

Note that diffDisk is completely misnomer here, especially when dealing with an ISO9660 "base disk", as it is an independent disk.

AkihiroSuda avatar Dec 01 '25 11:12 AkihiroSuda