not sure if lsb_release works very well: [r...@cob ~]# lsb_release -a LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 4.5 (Tikanga) Release: 4.5 Codename: Tikanga
[r...@cob ~]# more /etc/issue Red Hat Enterprise Linux Server release 5.3 (Tikanga) Kernel \r on an \m [r...@cob ~]# uname -a Linux cobra.lgc.com 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 x86_64 x86_64 GNU/Linux -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Corey Kovacs Sent: Monday, March 23, 2009 5:18 PM To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list Subject: Re: [rhelv5-list] determining RedHat version during kickstart Depending on when you need the information, lsb_release is nice. lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch Distributor ID: Fedora Description: Fedora release 10 (Cambridge) Release: 10 Codename: Cambridge ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
