[CentOS] grabbing ip address from kickstart pre

Joseph L. Casale jcasale at activenetwerx.com
Sun Aug 14 21:24:36 UTC 2011


>Since tr isnt available how else can I do it?

Check out page 21 of this pdf:
http://www.redhat.com/promo/summit/2010/presentations/summit/decoding-the-code/wed/cshabazi-530-more/MORE-Kickstart-Tips-and-Tricks.pdf

Interesting, while the awk solution is more appropriate for your
need, this can make it easier and allow for other options:

echo $ks |cut -d'/' -f3 after running the above...



More information about the CentOS mailing list