dermotbradley / create-alpine-disk-image

Create cloud-init enabled Alpine disk images for physical machines (PCs & RPIs), VMs, and Cloud servers
GNU General Public License v2.0
93 stars 11 forks source link

Wrong switch case condition in `get_storage_device_name()` for virtio-blk interface type #55

Open skoenig opened 2 months ago

skoenig commented 2 months ago

https://github.com/dermotbradley/create-alpine-disk-image/blob/377934993bb1a102d22cca822177ddf9314a2211/lib/common-functions#L768-L769 The $_device_type to check against should be "virtio-blk" not "virtio_blk", as this is the string passed on with create-alpine-disk-image --os-device-type virtio-blk ...