xcat-core/xCAT-server/share/xcat/netboot/sles
sikorsky 5e6f8a729b Example of booted image versioning using CVS.
We want to know, with what configuration (version of the image) each node was booted.
Hence, we keep image definition files and postscripts in CVS. During image generation we create file /etc/IMGVERSION and fill it with CVS "$Id$" of files with image definition (.pkglist, .exlist, .repolist, .postinstall). Then, during boot, each  "CVS enabled" postscript adds one line to /etc/IMGVERSION. Then you can determine in any time what image you are running and what postscipts in which versions were run. /etc/IMGVERSION cat look like:
smbec02n001(smbec02b01n01):~ #cat /etc/IMGVERSION
#-- $Id: base.pkglist,v 1.4 2008/09/02 15:40:12 sikorsky Exp $
#-- $Id: base.exlist,v 1.3 2008/09/02 14:57:08 sikorsky Exp $
#-- $Id: base.postinstall,v 1.21 2008/09/04 12:05:45 sikorsky Exp $
#-- $Id: base.repolist,v 1.3 2008/09/02 14:57:08 sikorsky Exp $
$Id: syslog,v 1.2 2008/09/02 14:54:29 sikorsky Exp $
$Id: remoteshell,v 1.2 2008/09/02 14:54:29 sikorsky Exp $
$Id: sa_set_net,v 1.5 2008/09/04 11:32:07 gdasstm Exp $
$Id: sa_gpfs,v 1.4 2008/09/02 17:30:05 sikorsky Exp $


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 21:44:55 +00:00
..
compute.exlist -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00
compute.pkglist -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00
compute.postinstall Example of booted image versioning using CVS. 2008-09-10 21:44:55 +00:00
compute.repolist Added {profile}.repolist functionality. 2008-09-10 14:38:27 +00:00
copy_profile.sh Added share/xcat/netboot/sles/copy_profile.sh. 2008-09-10 14:46:59 +00:00
genimage Allows diskless nodes to boot via other interfaces aside of primary boot interface, ie. provides ethernet failover. 2008-09-10 15:04:32 +00:00
genimage.yum more on installing extra packages 2008-09-09 23:52:04 +00:00
geninitrd -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00
service.exlist -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00
service.pkglist -Move xCAT-server and client to not have 2.0 in name for trunk 2008-06-03 14:56:33 +00:00