cjwatson | infinity: Could you commit your installation-guide changes to lp:~ubuntu-core-dev/installation-guide/ubuntu, please? | 08:08 |
---|---|---|
cjwatson | (And thanks) | 08:09 |
infinity | cjwatson: Ahh, I didn't notice we had a branch for it. I briefly considered doing a full merge, but it was late. | 11:43 |
jkitchen | is there something like partman but for networking? | 20:13 |
cjwatson | netcfg | 20:13 |
jkitchen | it doesn't seem to do much though | 20:13 |
cjwatson | I mean, that's the d-i component responsible for networking | 20:13 |
cjwatson | It does a fair bit in d-i | 20:13 |
jkitchen | here's what I'm trying to do: | 20:14 |
jkitchen | during install, configure static networking between eth0/eth1 -> bond0 -> br0 | 20:14 |
jkitchen | which I have, and it works. Except 13.04 it's not eth0/eth1 anymore | 20:14 |
cjwatson | Can be if you disable biosdevname, or you could adapt to the new world order | 20:14 |
jkitchen | so I need it to be more dynamic | 20:14 |
jkitchen | I'm hoping to adapt to the new world order :) | 20:15 |
cjwatson | netcfg isn't capable enough for that, though, no. | 20:15 |
cjwatson | So you could try to add bonding support to it, which would be worthwhile | 20:15 |
cjwatson | Or hack it up with some kind of early script | 20:15 |
jkitchen | with partman I have the ability to be like "take 2 of the following and make a raid+lvm: sda sdb vda vdb" and it Just Works | 20:16 |
cjwatson | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611250 | 20:16 |
ubot2` | Debian bug 611250 in netcfg "please support network bonding" [Wishlist,Open] | 20:16 |
cjwatson | There's nothing packaged that does what you want, although it should be possible to do it in a late_command script | 20:17 |
jkitchen | netcfg is only for during installation though, right? or does it also lay down a static config for you in the installed system? | 20:17 |
cjwatson | It does both | 20:17 |
jkitchen | ahh ok | 20:17 |
cjwatson | (At least in modes where it isn't basically delegating to NM for the latter) | 20:17 |
jkitchen | I don't *think* I'm using NM | 20:18 |
jkitchen | I just have /etc/network/interfaces with what I need | 20:18 |
jkitchen | https://gist.github.com/kitchen/6151779 | 20:19 |
jkitchen | anywho, I'll make it 'dynamic' in my late_command script for now | 20:19 |
jkitchen | is there a preferred method of enumerating the network devices on the machine other than doing 'ip a | <parse>' ? | 20:20 |
jkitchen | aha 'ip link show' | 20:22 |
jkitchen | ok, I'll poke around a bit at it. thanks for your help :) | 20:22 |
cjwatson | You could walk /sys/class/net/ | 20:22 |
cjwatson | Assuming you don't mind being Linux-specific | 20:23 |
jkitchen | as opposed to? :) | 20:23 |
jkitchen | this is for ubuntu installation | 20:23 |
cjwatson | If you were submitting a netcfg patch to Debian then it supports some other kernels too | 20:23 |
jkitchen | ahh ok, gotcha | 20:24 |
cjwatson | Though no idea if they have bonding | 20:24 |
jkitchen | nah, I think for now I'm gonna just hack it into my late_command script | 20:24 |
* cjwatson nods | 20:24 | |
jkitchen | hacking on the installer itself isn't something I'm quite ready to dive into just yet | 20:25 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!