[debian-lan-devel] Network boot configuration (was: Reserved leases for member client machines)
Afif Elghraoui
afif at debian.org
Mon Nov 21 01:29:17 UTC 2016
Hi, Andi.
على الأربعاء 21 أيلول 2016 14:00، كتب Afif Elghraoui:
>> • After installation, the machine boots again into installation
>> > mode (not sure if this was intended, I thought the idea was to
>> > switch to local boot after successful installation with 'chboot -o
>> > <IP>' automatically).
> I did not (intentionally) make any changes to this aspect of the system.
> I would prefer setting PXE to local boot after successful installation
> as well, but you had said the static PXE configuration was intentional
> because the Debian LAN use case was for the hard disk to be the default
> boot priority [1].
>
>
[...]
>
>> > Perhaps we should first think about what we want to achieve. A first
>> > idea:
>> >
>> > We need add a machine to the system. This is done with 'debian-lan
>> > add2dhcp'. Best case: this is all needed, and nothing more.
>> > However, a simple way to re-install is also necessary.
>> >
>> > Hm, I'm thinking about it. Any ideas?
>> >
> Well, since we agree that setting PXE to localboot after installation is
> a good idea, we can do fai-chboot -o after installation. Then, to set
> PXE to reinstall, the admin would have to recopy the template:
> fai-chboot -c workstation.tmpl worstationXX
I'm not sure if you have any comments about what I wrote here. I just
wanted to let you know how I've configured this for my site in case you
might think it's an appropriate approach here. I set the default PXE
boot configuration for member clients as localboot. When a host is
registered with add2dhcp, it gets the usual template PXE configuration.
At the end of installation, `fai-chboot -d <hostname>` runs, which
disables the host's PXE configuration so that it uses the default (which
is localboot). If I want to reinstall a machine, I simply run
`fai-chboot -e <hostname>` and restart it.
Thanks and regards
Afif
>
> 1.
> http://lists.alioth.debian.org/pipermail/debian-lan-devel/2015q1/000782.html
--
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name
More information about the debian-lan-devel
mailing list