From: Erik H. <eah...@gm...> - 2005-05-12 17:34:28
|
Whups, looks like I forgot to reply to all. ---------- Forwarded message ---------- From: Erik Hendriks <eah...@gm...> Date: May 12, 2005 8:59 AM Subject: Re: [BProc] page allocation problems To: Sean <se...@la...> On 5/11/05, Sean <se...@la...> wrote: > HI > I wrote the attached patch to ifdup.c that lets you set the mtu in > beoboot quite some time ago. I guess I should check it in. I believe it made it in as part of ifdup, just not part of the ifconfig plugin. IIRC, ifdup doesn't handle the case where you're not trying to copy another interface's configuration. Maybe ifdup isn't an appropriate place for it at all. Maybe the more appriopriate thing would be to expect ifdup followed by ifconfig to tweak parameters like that. Ideally, ifconfig would be just like the real ifconfig but that would take work. <crazyidea> Write a plugin that would let beoboot use stuff like system's ifconfig program directly. For example a line like this: useutil ifconfig myri0 mtu 4000 The useutil plugin would do bproc_execdump ifconfig with those options and the go undump it on the slave node. It should work as long as this plugin is called after vmadlib to setup the libraries. It would make the size of the setup process a bit bigger but I think it'll likely be worth it for the flexibility it provides. </crazyidea> - Erik |