Thus spake Michael Chase-Salerno ([EMAIL PROTECTED]):
Sorry for my delayed response to this, but I have to ask, why is this
done in what seems to be a completely disjoint way to the current
postinstall script support that System Configurator already has?

I didn't know that System Configurator had postinstall script support that might work for this.

I
understand that this is using a naming convention model so you don't
have to necessarily modify the systemconfig.conf, but it should be able
to be done in such a way that it isn't duplicating the same function in
a completely different area of the code. Perhaps a method could be added
to the System Configurator code that would be something like "auto" that
would perform this function in a manner more in line with the current
code.


Unless I'm missing some big difference between these 2 code paths, other
than the way it finds the scripts, it seems prudent to take this
opportunity to reduce the complexity of the code rather than increase
it.

I'll take a look at what System Configurator can do along these lines.


Code is, of course, never set in stone.  If it looks like we can
accomplish what we want better by using System Configurator, the we can
certianly switch.

Thanks!

-Brian


Mike

On Mon, 2004-03-29 at 15:08, Brian Elliott Finley wrote:
FYI,

I've added post-script support to SystemImager. I've a couple more
tests to perform prior to committing to CVS, but basically, you just
drop a script in the "/var/lib/systemimager/scripts/postscripts/" directory with the proper name, and it/they get(s) executed on the client inside the chrooted image as the last bit of image manipulation
prior to shutdown/reboot.


This should be available in the next release, which will happen much
faster than the last. ;-)

Script naming scheme will be flexible and will be documented.

Cheers, -Brian


Thus spake [EMAIL PROTECTED] ([EMAIL PROTECTED]): >>>>>> Sean Dague wrote: > >> I am curious about the need for changing node name and hardware >differences after install, as System Configurator already does that. If you >have needs beyond what SC current supports, I'd like to hear about them on >the [EMAIL PROTECTED] list. > >I do it quite often. The usual case where you need to do it is when you >have a multi-homed host. In my case, I'm PXE booting off of the network >interface that is *not* coupled to the system hostname (e.g. >myhost-eth1.localdomain). In those cases, systemimager's dhcp picks up the >data from the internal interface, which is usually incorrect for the 'real >interface'. For these hosts, I usually have to edit the master script >generated by systemimager to morph the variables fed to systemconfigurator >into the right values for the as-yet-unseen primary interface. It would be >nice to be able to clone the systemconfigurator invocation from the master >script into a new 'local' script. That way, I don't have to re-integrate my >modifications into every new master script as I upgrade the various system* >packages. > >On the hardware front, the only thing I've had to customize is to provide a >local PCI map so that the right Ethernet driver gets chosen for the kernel >revision. I'm not sure the script dir helps there. This seems more like an >item that the overrides concept is designed to handle. > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click >_______________________________________________ >Sisuite-devel mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/sisuite-devel >
--
Michael Chase-Salerno <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel


--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Sisuite-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to