Hi,
I've build an PXE server what installs the OS for me automatic. But what I want to do now is this:
The client gets an IP from the DHCP server
The client request a file from the tftp server
The client has to auto install the OS what is written under the label with his IP address.
So the default file must look like this:
timeout 0
display hi.msg
Label 192.168.0.1
kernel vmlinuz-7.3
append initrd=initrd-7.3.img
Label 192.168.0.2
kernel vmlinuz-7.4
append initrd=initrd-7.4.img
Label 192.168.0.3
kernel vmlinuz-7.5
append initrd=initrd-7.5.img
Label 192.168.0.4
kernel vmlinuz-7.6
append initrd=initrd-7.6.img
When the server with ip 192.168.0.1 comes up, it must automaticly install the stuff that is with label 192.168.0.1
and if the server with ip 192.168.0.2 comes up, it must automaticly install the stuff that is with label 192.168.0.2
etc.
So how can I do this?
thnx!
Ps: I'm tired now, it 4am in the morning I've been working on it since 2pm in the afternoon
So I will go to bed now