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

fix(common-functions): fix device type string #56

Open skoenig opened 2 months ago

skoenig commented 2 months ago

Fixes dermotbradley/create-alpine-disk-image#55

This is a small fix to determine the correct device name from the device type if executed with --os-device-type virtio-blk, most likely introduced during dermotbradley/create-alpine-disk-image#41 refactorings. This is important for the resize-rootfs init.d script to extend the correct device and partition on the first boot.