=== harlowja_ is now known as harlowja_away === zz_gondoi is now known as gondoi === harlowja_away is now known as harlowja_ === gondoi is now known as zz_gondoi === zz_gondoi is now known as gondoi [20:36] harlowja_, https://bugs.launchpad.net/cloud-init/+bug/1315501 is fun. [20:36] damn, u guys changed to interfaces.d [20:38] didn't know that existed (interfaces.d) [20:38] yeah, its nice. but not so nice. all at the same time. [20:39] :) [20:41] smoser so that shouldn't be to hard to fix though, depending how u want to do this [20:41] so i think the right thinkg to do is: [20:42] * read all interfaces.d files (in order expected). [20:42] did the format for those files change? [20:42] * identify each interface and the file it was originally found in [20:42] * update the file that it was found in. [20:42] alternatively, we could put a cloud-init file down that just was last in the order (and truped the others) [20:43] 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] ah [20:44] u can probably then use my handy-dandy parser i suppose [20:44] http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/net_util.py [20:45] and then scan all files, identify ones that u want to write, and as u said rewrite ones that match [20:45] *and leave the old way of doing this for pre-trusty? [20:49] well, ideally, the new way would still work. [20:49] right? [20:50] because /etc/network/interfaces would not contain the 'source-directory interfaces.d' [20:50] or if it did, we'd still order the stuff all correctly and know where to replace. [20:51] 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] ya, damn them for making this so complex :-P === gondoi is now known as zz_gondoi