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

[Xen-devel] RE: [RFC][PATCH] create an initrd for dom0 in install.shscript



Kind of crude but you could try parsing /etc/issue. 

SLES cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (x86_64) - Kernel \r (\l).

Fedora cat /etc/issue
Fedora Core release 4 (Stentz)
Kernel \r on an \m

Aravindh

> -----Original Message-----
> From: Harry Butterworth [mailto:harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, March 30, 2006 3:10 PM
> To: Puthiyaparambil, Aravindh
> Cc: Sean Dague; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [RFC][PATCH] create an initrd for dom0 in
install.shscript
> 
> Thanks.
> 
> Does anyone have any idea what the best way of determining what distro
> is installed is?
> 
> Harry


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.