[arch-releng] [RFC][PATCH] [configs/releng] Use systemd-networkd instead of dhcpcd
teg at jklm.no
Wed Feb 26 08:55:27 EST 2014
On Wed, Feb 26, 2014 at 2:47 PM, Thomas Bächler <thomas at archlinux.org> wrote:
> Am 26.02.2014 14:04, schrieb Gerardo Exequiel Pozzi:
>>> Why don't we just copy all renaming and networkd-related stuff to
>>> initramfs and use it for initialization there, too?
>> Will be great, sure. But how to extract ROOTSERVER for later usage?
> Ask Tom. networkd should get the ability to extract those special
> options from DHCP (like next-server, filename option, special dhcp
> options, ...) to be able to be fully useful in initramfs.
I have worked a bit on this with Harald, but haven't finished yet (not
even decided on exactly how we want to do it). I'll keep you posted
once there is progress (you'll see it in the systemd repo anyway I
> OTOH, in archiso, we do not have to rely on such mechanisms, we can
> transmit all options via the command line.
>>> For that we'd probably have to switch initramfs to systemd entirely, but
>>> we should do that anyway.
>> Hehe. I tried this some times, but I fail. At least doing in a only
>> systemd-way (only using units, no shell scripts), for the most simple
>> boot scenario used by default and with fixed values.
> You won't get anywhere without shell scripts I'm afraid. I'd put some
> parts of archiso into generators and some parts into services which call
> shell scripts. Once we have a working solution, we can still make it
> more systemd-y.
More information about the arch-releng