Re: grabbing ip address from kickstart pre

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux