[CentOS] kickstart server variable name

Milton Calnek milton at calnek.com
Mon Mar 3 21:47:57 UTC 2008


I don't think that's the ip OP is looking for.  I think he wants the server ip.

Tom Brown wrote:
> 
>>
>> You may be able to get the IP out of /proc/cmdline during %post
>>   
> 
> or
> 
> export MYIP=`ifconfig eth0 | awk '/inet/ {print $2}' | cut -d: -f 2`
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
Milton Calnek BSc, A/Slt(Ret.)
milton at calnek.com
306-717-8737


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the CentOS mailing list