Commit Graph

4 Commits (5f3e2dd2f3344c65a8e268a47a48b3fe5759364f)

Author SHA1 Message Date
Victor Lowther 5f3e2dd2f3 Move running dhclient on DHCP interfaces into a pre-mount hook.
Static interfaces are still configured on the fly as we add them, but
discussions on the mailing list have suggested that we need to have finer
control over bringing up dhcp interfaces.

The default hook just runs all the requested dhclients in parallel and waits
for them to all return.  If you need something more complicated than this, or
need to have more control over bringing interfaces up, you will probably need
to override some stuff in the 40network hook.
2009-03-04 16:55:05 +01:00
Victor Lowther 6a376b57eb Save any dhcp options we did not handle to net.$interface.dhcpopts 2009-03-04 16:55:02 +01:00
Victor Lowther 17867cf913 Update scripts to make things a little easier to read 2009-03-04 16:54:59 +01:00
Victor Lowther 0ac9584ded We now know how to configure the network interfaces.
Provided that you are configuring them via DHCP. RARP, BOOTP, and static
configuration are not written yet.

Also, adding nic drivers really bloats the initrd.

I am looking for feedback on these patches from people who actually implement
booting over the network.  This patch series does not include support for that
yet -- you will not find nfsroot= handling, or booting to a fs supplied by
dhcp yet.  I do want to make it as easy as possible to add support for booting
over the network, as well as making it easy for people to customize things to
meet their site requirements.

This patch series is also available as the network-configurability branch at
http://git.fnordovax.org/dracut.  It may be rebased without warning to keep
it in sync with the rest of dracut.
2009-03-04 16:54:43 +01:00