I tried the suggestion of using FileSystemMockingTestCase and mocking os.stat http://paste.ubuntu.com/25801791/
Where the idea became problematic was there is no simple way to make /dev/disk/by-partuuid be a block device, and the code specifically checks for that. so at this point, it does seem like we should still patch os.stat , but doing so is not related to your MP without further work. -- https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/332634 Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:fix-device-path-from-cmdline-regression into cloud-init:master. _______________________________________________ Mailing list: https://launchpad.net/~cloud-init-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~cloud-init-dev More help : https://help.launchpad.net/ListHelp

