[134] in athena10
rc.conf values via kernel arguments?
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Mar 25 10:54:43 2008
Message-Id: <037F8861-5330-418F-8E72-3F5FD0B87610@mit.edu>
From: Jonathan Reed <jdreed@MIT.EDU>
To: athena10@mit.edu
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v919.2)
Date: Tue, 25 Mar 2008 10:51:51 -0400
I've been playing around a bit Athena in a VM, and I'm working on a
proof-of-concept utility that modifies the ADDR and HOST rc.conf
values for a non-running Athena VM. However, it occurs to me that
would be a really neat feature would be if ADDR and/or HOST could be
configured at boot time, thus avoiding a
reboot or syncconf after moving a machine to another network.
I was thinking something like appending "athena_ipaddr=18.x.y.z" to
the kernel arguments, and then
early in the boot process, something takes a look at /proc/cmdline and
makes the necessary changes to rc.conf before syncconf runs.
Obviously, this isn't useful now, since we have platforms other than
Linux, but in the Athena 10 world, it seems like it would be a neat
feature.
Thoughts?
-Jon