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@centos.org http://lists.centos.org/mailman/listinfo/centos