=== modified file 'cloudinit/config/cc_disk_setup.py' --- cloudinit/config/cc_disk_setup.py 2015-02-13 21:04:03 +0000 +++ cloudinit/config/cc_disk_setup.py 2015-03-03 23:41:57 +0000 @@ -305,7 +305,7 @@ # If the child count is higher 1, then there are child nodes # such as partition or device mapper nodes use_count = [x for x in enumerate_disk(device)] - if len(use_count.splitlines()) > 1: + if len(use_count) > 1: return True # If we see a file system, then its used