[CentOS] kickstart server variable name

Matt Hyclak hyclak at math.ohiou.edu
Mon Mar 3 21:46:06 UTC 2008


On Mon, Mar 03, 2008 at 09:38:04PM +0000, Tom Brown enlightened us:
> >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`
> 

That would give the local IP, not the IP of the kickstart server...

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263



More information about the CentOS mailing list