[20:36] <smoser> harlowja_, https://bugs.launchpad.net/cloud-init/+bug/1315501 is fun.
[20:36] <harlowja_> damn, u guys changed to interfaces.d
[20:38] <harlowja_> didn't know that existed (interfaces.d)
[20:38] <smoser> yeah, its nice. but not so nice. all at the same time.
[20:39] <harlowja_> :)
[20:41] <harlowja_> smoser so that shouldn't be to hard to fix though, depending how u want to do this
[20:41] <smoser> so i think the right thinkg to do is:
[20:42] <smoser>  * read all interfaces.d files  (in order expected).
[20:42] <harlowja_> did the format for those files change?
[20:42] <smoser>  * identify each interface and the file it was originally found in
[20:42] <smoser>  * update the file that it was found in. 
[20:42] <smoser> alternatively, we could put a cloud-init file down that just was last in the order (and truped the others)
[20:43] <smoser> the format didn't really change, the cloud iamge build process jsut started taking advantate fo the fact that /etc/network/interefaces can now do "#include interfaces.d" or whatever hte syntax is thre.
[20:43] <harlowja_> ah
[20:44] <harlowja_> u can probably then use my handy-dandy parser i suppose
[20:44] <harlowja_> http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/net_util.py
[20:45] <harlowja_> and then scan all files, identify ones that u want to write, and as u said rewrite ones that match
[20:45] <harlowja_> *and leave the old way of doing this for pre-trusty?
[20:49] <smoser> well, ideally, the new way would still work.
[20:49] <smoser> right?
[20:50] <smoser> because /etc/network/interfaces would not contain the 'source-directory interfaces.d'
[20:50] <smoser> or if it did, we'd still order the stuff all correctly and know where to replace.
[20:51] <smoser> i really dont know the best way to do it. between "update-the-right-stanza" (if there is even 1 stanza, they may be additive). and "write a 99_cloud-init" config file that just trumps at the end.
[20:57] <harlowja_> ya, damn them for making this so complex :-P