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.
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.