Re: HOSTNAME variable

2012-06-18 Diskussionsfäden Hiro Protagonist
thanks for all your tips! i removed the /etc/hostname file on the nfsroot and got everything working again! i have no idea where the file /etc/hostname (and the "fai-live-host" hostname) came from... thanks again! On 06/18/2012 01:56 PM, Thomas Neumann wrote: Find the row and add HOSTNAM

RE: HOSTNAME variable

2012-06-18 Diskussionsfäden Thomas Neumann
>> Find the row and add HOSTNAME=$host: >> $append="append $initrd $bootprot $rootfs HOSTNAME=$host $opt_k $flags >> $action\n"; > What does the nfsroot's `hostname` command report as the current hostname? > Is it the same as the content of HOSTNAME or is it the original/unmodified > host's name?

RE: HOSTNAME variable

2012-06-18 Diskussionsfäden Thomas Neumann
> Find the row and add HOSTNAME=$host: > $append="append $initrd $bootprot $rootfs HOSTNAME=$host $opt_k $flags > $action\n"; What does the nfsroot's `hostname` command report as the current hostname? Is it the same as the content of HOSTNAME or is it the original/unmodified host's name?

Re: HOSTNAME variable

2012-06-18 Diskussionsfäden Thomas Neumann
etc/sysconfig/network) > where is the HOSTNAME variable set during the FAI boot? It's a bash-ism. bash retrieve's the current hostname from the kernel and defines the HOSTNAME variable. If the session ends (the script terminates) then whatever you put there is forgotten so I advise

Re: HOSTNAME variable

2012-06-18 Diskussionsfäden Thomas Lange
>>>>> On Mon, 18 Jun 2012 13:19:31 +0200, Hiro Protagonist >>>>> said: > the ${HOSTNAME} variable is always "fai-live-host". Never saw that name. There are several places where the hostname can bedefined. the initrd (including the live-boot pack

RE: HOSTNAME variable

2012-06-18 Diskussionsfäden ARNAUDOV Krasimir
riginal Message- From: linux-fai-boun...@uni-koeln.de [mailto:linux-fai-boun...@uni-koeln.de] On Behalf Of Hiro Protagonist Sent: Montag, 18. Juni 2012 13:20 To: linux-fai@uni-koeln.de Subject: Re: HOSTNAME variable sorry to bother again about this issue, but now i checked that my DNS server

Re: HOSTNAME variable

2012-06-18 Diskussionsfäden Hiro Protagonist
f" fails (temporary failure in name resolution). if i log in to the live system and change the hostname to the correct hosname by hand, "# hostname -f" also works. the ${HOSTNAME} variable is always "fai-live-host". again my question: where is the hostname (and the HOSTNAM

HOSTNAME variable

2012-06-13 Diskussionsfäden Hiro Protagonist
hello i seem to have some problems with my DHCP/DNS settings. when trying a FAI installation, the HOSTNAME variable always resolves to "fai-live-host". i tried to create a workaround that gets the hostname from the ipaddress, assigns it to $HOSTNAME (and exports HOSTNAME). but tha