Re: kickstart server variable name

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



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


--
Milton Calnek BSc, A/Slt(Ret.)
milton@xxxxxxxxxx
306-717-8737


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
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