I believe this is fixed in cloud-init revision 515 http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/515
Note, we could also restrict the device type searched by checking /sys/block/devname/device/type as stefan suggested.
I believe this is fixed in cloud-init revision 515 bazaar. launchpad. net/~cloud- init-dev/ cloud-init/ trunk/revision/ 515
http://
Note, we could also restrict the device type searched by checking /sys/block/ devname/ device/ type as stefan suggested.