Hi,
I will set hostnames in the pxe boot files.
On Monday 24 January 2005 12:59, Holger Schurig wrote:
> I tried that first, but it did not work. The code line
> in /usr/lib/fai/sbin/rcS_fai reads:
>
> -
> if [ $HOSTNAME = '(none)' -a -n "$HOST" ]; then
> -
>
> a
> hi holger,
>
> Did I get you right - you cannot modify die DHCP server's
> configuration?
...
> host hostnameXYZ {
> hardware ethernet 00:02:B3:ff:ff:ff;
> fixed-address 192.168.X,Y;
> }
No, you didn't get me right. I don't WANT to assign hostnames. Those IP
addresses are from a dynam
> In fai 2.6.6 you can set the hostname by appending following parameter
> to the kernel:
>
> HOST=demohost
>
> This will also set the hostname. For example. the fai CD contains
> following boot entry for grub:
I tried that first, but it did not work. The code line
in /usr/lib/fai/sbin/rcS_fai re
> On Mon, 24 Jan 2005 11:38:06 +0100, Holger Schurig <[EMAIL PROTECTED]>
> said:
> There is no hostname in our local DNS for those DHCP addresses, so FAI
> assigns the IP address (!) to HOSTNAME. But '172.16.1.241' is a weird
> hostname. This is later used in /etc/hostname,
Sometims I have to setup similar servers for customers. They don't end up
in our local LAN, so they don't get local IP adresses. Instead, they get
some short-lived dynamic IP address via DHCP.
There is no hostname in our local DNS for those DHCP addresses, so FAI
assigns the IP address (!) to H