[arch-releng] dhcp in archiso_pxe_* (WAS: [RFC] [archiso] Use a pure systemd enviroment)

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Aug 22 17:04:38 EDT 2012


On 08/22/2012 04:51 PM, Thomas Bächler wrote:
> Am 22.08.2012 21:29, schrieb Gerardo Exequiel Pozzi:
>>> 2) Instead, we should
>>>     * run a real dhcp client in initramfs
>>>     * kill it at the end (make it not give away the lease), copy over the
>>> lease to the real system (or even leave dhcpcd running)
>>>
>>> This would force us to ask for DHCP more often, but would guarantee that
>>> we have a consistent IP in initramfs and after. It doesn't matter if the
>>> IP during PXE and during initramfs differ (which is still unlikely to
>>> happen).
>>>
>>>
>> If leave it running should notify to systemd that there dhcpcd service
>> is already running.
>>
>> PS: Anyway for now, I leave copytoram=y for NBD/NFS (remember that
>> copytoram only copies needed *.sfs, in other works booting in x86_64
>> does not copies "i686.sfs")
> Beware that downloading the files may take longer than the lease time of
> the network. For example, it is not uncommon to have 15 minute lease
> times, and downloading files in less than 15 minutes needs > 3MBit/s
> approximately.
>
>
>
mmm I am now confused now... we have already done this for HTTP and I 
never heard this argument.
So in such case system will be broken during usage,
Also NFS/NBD methods are more oriented for local networks.

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list