xcat-core/xCAT/postscripts
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
..
upflag -Add update flag support and source for Windows deployment 2008-09-08 21:03:38 +00:00
addsiteyum Fix the yum repository setup postscript 2008-03-26 15:39:32 +00:00
aixremoteshell Add change of / directory ownership to root/system and other fixes. 2008-06-19 16:49:54 +00:00
allowcred.awk -Change .directories in postscripts dir for wget traversal 2008-04-30 20:54:57 +00:00
confGang Ganglia plugin 2008-09-03 19:00:10 +00:00
configeth made some postscripts executable 2008-04-24 13:52:45 +00:00
cvs_template.pl Example of booted image versioning using CVS. 2008-09-10 21:44:55 +00:00
cvs_template.sh Example of booted image versioning using CVS. 2008-09-10 21:44:55 +00:00
enabledebug Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
enablesysreq Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
getcredentials.awk -Fix getpostscript and getcredentials clients to not hang when server doesn't 2008-05-07 19:34:12 +00:00
getpostscript.awk fix NODESETSTATE env variable value in posrscripts 2008-05-14 19:14:32 +00:00
hardeths made some postscripts executable 2008-04-24 13:52:45 +00:00
locallibs Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
locktftpdir.awk Provide enhanced iSCSI support for the opportunity for more seamless operation 2008-01-16 21:14:50 +00:00
makesshgkh Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
mountpost Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
nfsmounts Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
otherpkgs more on installing extra packages 2008-09-09 21:08:48 +00:00
reboot Changed the bash scripts to /bin/sh so this code can 2007-11-27 12:53:18 +00:00
remoteshell -Accept either /usr/bin or /usr/sbin as valid location for stunnel 2008-05-14 20:16:32 +00:00
resyslog Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
serialconsole Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
servicenode Add AIX SN support to servicenode. 2008-08-22 15:02:13 +00:00
setiscsiparms.awk Add missing setiscsiparms.awk which missed checkin 2008-02-29 21:34:11 +00:00
setupLDAP LDAP client setup postinstall script 2008-06-05 13:03:01 +00:00
setupntp fixed for AIX 2008-06-13 12:22:20 +00:00
syncclock Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
syslog minor fix in syslog 2008-08-08 20:58:28 +00:00
umountpost Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
unlocktftpdir.awk Provide enhanced iSCSI support for the opportunity for more seamless operation 2008-01-16 21:14:50 +00:00
updateflag.awk Initial xCAT 2.0 import 2007-10-26 22:44:33 +00:00
upflagx64.exe -Add update flag support and source for Windows deployment 2008-09-08 21:03:38 +00:00
upflagx86.exe -Add update flag support and source for Windows deployment 2008-09-08 21:03:38 +00:00
uploadboot -Use curl instead of normal tftp client to upload, since Fedora only has curl 2008-04-30 15:11:04 +00:00
xcataixpost Use runcmd instead of call to system. 2008-06-25 13:12:52 +00:00
xcatclient -Extend stunnel path acceptence to two more postscripts 2008-05-14 20:29:34 +00:00
xcatdsklspost added feature to install extra 3rd party rpms during cluster install process or after the fact (usning updatenode command). 2008-09-08 18:54:30 +00:00
xcatdsklspost.aix -Move stateless diskless to new postscript strategy, leave AIX alone for now 2008-05-01 20:52:16 +00:00
xcatpostinit made some postscripts executable 2008-04-24 13:52:45 +00:00
xcatserver -Extend stunnel path acceptence to two more postscripts 2008-05-14 20:29:34 +00:00