Add support for attaching local iso file as cdrom
There doesn't seem to be a way to attach a local iso file to the instance. Adding --cdrom /path/to/iso to multipass launch would be a nice addition.
Since this won't be a booting medium, I wonder if this should instead be a multipass mount function? Most hypervisors should allow changing the medium online and we can probably cater for 99% use cases by just using a single virtual optical drive (we use one already for cloud-init data).
WDYT?
I see you're already using one. My use-case was to pass an additional cdrom iso file to the VM so I could verify some cloud-init behavior during boot. It's certainly possible to allow more than one cdrom device per VM. Mounting the iso after boot wouldn't help me verify boot behavior though.
@raharper was the desire to have two cloud-init ISOs attached?
The desire is to let me specify a local file and bind that to a second cdrom in the guest.
Hi @Saviq , I’d love to contribute to this project, and this issue caught my attention. I noticed it’s been open since September 4, 2019—could someone share the current status? Is this feature still needed?
Hi, If we did something like this, I would be more inclined to accept extra files/directories directly, rather than a separate ISO (users shouldn't need to know about ISOs). We could internally bundle them in the existing ISO, or use a second one if necessary.
But TBH it's not quite clear to me what value this would bring. Multipass supports one mechanism to customize the boot: cloud-init. Can't any necessary local data be included in it directly? I fear this would adopt and expose unnecessary complexity for very niche purposes.
Related to https://github.com/canonical/multipass/issues/1040, there was some earlier exploration in there.