=== harlowja is now known as harlowja_away === harlowja_away is now known as harlowja [04:38] smoser yt, are u ok with https://code.launchpad.net/~vlastimil-holer/cloud-init/net-reconfigure/+merge/186352 ? [04:39] looking [04:39] i shouldn't be here. [04:39] lol [04:39] np [04:39] what do i get wit this ? [04:39] * harlowja not sure whose been testing snapshots at y! [04:39] lol [04:39] but the ips haven't been right, lol [04:39] so smoser i think what u'll get is the ifdown part before networking modification [04:40] another idea, i think http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/sysvinit/redhat/cloud-init-local#L30 would probably like to have Should-Stop: $network [04:40] although not sure [04:42] i think the issue we have just noticed (don't ask why nobody noticed or told me before) is that snapshot saves image, with old netconfig, starts up off of snapshot, but init-local happens after networking starts (so config drive network writing is to late at this point) [04:42] anyways [04:43] let me know what u think when u get some time [04:51] the /etc/rc.d/rc5.d/ that this is part of http://paste.openstack.org/show/73103/ [04:56] harlowja, yeah, i knew it was broken in that way. [04:56] well, i knew it was broken for inserting statick eth0 [04:56] i hadn't thought about other nics that were previosly configured. [04:59] it seems a bit broken to bring dwn configured network interfaces though. [04:59] agreed [05:01] what to do i wonder :-P [05:04] b b === harlowja is now known as harlowja_away === harlowja_away is now known as harlowja [17:52] and another day goes by without new cirros release :p [18:09] be nice ;-) [18:11] I'm always nice :> [18:12] (-: [18:31] harmw, http://paste.ubuntu.com/7075003/ [18:31] can you test that ? [18:31] adds and uses 'asroot' and adds a container output. [18:32] ahyea, lets see [18:33] then i'll pull your patch if that works. [18:33] and then we'll be closer [18:40] awk: /proc/1/environ: Permission denied [18:40] I'm running without sudo now, manually invoking cirros-status [18:40] bah. right. [18:40] it does print ssh keys nicely now [18:45] k. i shoudl have just used 'lxc-is-container', but i was hoping to avoid the fork :) [18:47] http://paste.ubuntu.com/7075099/ [18:58] smoser u around [18:58] here [18:59] so about that stupid ifconfig crap [18:59] lol [18:59] k [18:59] any thoughts on a good longer term solution, not that hard to adjust the sysvinit file [19:02] or other way is to say users should delete there ifconfig before snapshotting as part of cleanup [19:04] bb [19:32] harmw, i really dont want to tell pepole they have to clean up [19:32] i'd love to have a way around that. [19:32] err... harlowja [19:32] ya, smoser, hmmm [20:21] smoser: iamroot() doesn't work [20:21] iamroot() { return $(id -u) [20:21] } [20:22] anything wrong with doing it that way? [20:25] harmw, bah. [20:25] add [20:25] [ "$UID" = "0" ] [20:25] after it sets uid. [20:25] ie [20:25] iamroot() { [20:25] [ -z "$UID" ] || UID=$(id -u) [20:25] [ "$UID" = "0" ] [20:25] } [20:25] sorry. [20:25] yeah, the way i had it it would always say it was root [20:27] uhm, how's this any different :P [20:28] ie. still doesn't work [20:29] it's now always using sudo [23:54] bah. harmw i'ms orry.