[CentOS] grabbing ip address from kickstart pre

Sun Aug 14 19:36:02 UTC 2011
Joseph L. Casale <jcasale at activenetwerx.com>

>how can I go about extracting the IP address from with in the %pre section
>
>I was going to do something like:
>cat /proc/cmdline | tr ' '  '\n' | grep ks=http | tr '/'  ' ' | awk {' 
>print $2'}
>
>Since tr isnt available how else can I do it?

Jerry,
You ever solve this? You can do this all with awk alone.