This is close...as I am already using these as well.....the purpose of the addition I have made is to do the following...
In clusters you have to define the client machine in groups etc.....the method I have added in allows the base of the "master script name" to become a variable to allow for additional scripts....This removes the need to define the groups a machine is in as well as the ability to run the script over multiple versions of images...... This may help describe why I use this... I have many people using SI world wide that have no knowledge of its underpinnings.....when they boot a machine via tftp they get a menu system that allows them to choose both predefined setups or choose a particular hardware type and particular image they want to use.....this is then dynamically applied to the kernel lines passing in all the arguments for SI - scriptname, imagename etc...based on this information then I run afterscripts to modify the base images to the type of machine they want to use....so..for example.. Dell 490 -> Image #1 -> webserver This will take the overrides for a Dell 490 combine them to the Image #1 and after installation preconfigure a web server on it based on the type of setup requested. This allows me to maintain only 2 images (one 64 bit and one 32 bit)for all 72 types of hardware and 35 different configurations... I will pull apart what I did and post the script changes and how I use them so this can be stated clearer. Bryan -----Original Message----- From: Brian Finley [mailto:br...@thefinleys.com] Sent: Wednesday, May 19, 2010 1:21 PM To: sisuite-users@lists.sourceforge.net Cc: Bryan Washer Subject: Re: [sisuite-users] Grouped Machines Bryan, Have a look at these READMEs. Are they describing something along the lines of what you're doing? http://svn.systemimager.org/listing.php?repname=systemimager&path=%2Ftru nk%2Fvar%2Flib%2Fsystemimager%2Fscripts%2Fpre-install%2F&rev=0&sc=0 http://svn.systemimager.org/filedetails.php?repname=systemimager&path=%2 Ftrunk%2Fvar%2Flib%2Fsystemimager%2Fscripts%2Fpost-install%2FREADME&rev= 0&sc=0 Cheers, -Brian On 05/18/2010 09:30 PM, Bryan Washer wrote: > Looking for some opinions.... > > I have made a modification to the imaging scripts that looks at the name > of the script which installed the bare machine and based on the name of > the script runs other scripts.... > > I did this so I could dynamically determine what image I wanted to put > on a machine from a pxelinux boot menu and then based on the image I > selected it would run specific scripts..... > > This is more of a dynamic setup of grouped machines than the grouping > you would do like if you were in a data center... > > Would anyone be interested in this...or do you think this is just > something that we use as a one off? > > Bryan > > Example: if I select a workstation image ..it sets the setup script as > workstation.model that is a link to the master script. Then while the > script is running after the base image it runs all scripts that start > with a ##workstation.something (##{base of scriptname}.anything) in the > scripts directory..... > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. > > ------------------------------------------------------------------------ ------ > > _______________________________________________ > sisuite-users mailing list > sisuite-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sisuite-users -- Brian Elliott Finley Mobile: 630.447.9108 CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ _______________________________________________ sisuite-users mailing list sisuite-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-users