Bugs item #1484682, was opened at 2006-05-09 06:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1484682&group_id=259

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: systemimager-client
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Feature request: read overrides from file

Initial Comment:
Dear developers,

I am not sure if this feature was in an earlier version
of systemimager already or if I modified the code
myself and overwrote it when updating the package -
anyway - here is my suggestion:

I have clients with different hardware (CRT/TFT
Monitors, SATA/PATA disks, CD and DVD writers in some
etc.) so I make intensive use of overrides.

I have a file /etc/systemimager/overrides on the disk
of my clients containing a override request per line.
(si_)updateclient reads this file and includes these
requests as they would be given by the -override
command line option. The /etc/systemimager/overrides
file is listed in my
/etc/systemimager/updateclient.local.exclude and
adjusted once per client for its particular configuration.

The changes to the code are trivial:

*** updateclient        Tue May  9 15:02:28 2006
--- /usr/sbin/updateclient      Tue Feb 28 07:04:52 2006
***************
*** 124,139 ****
      "log=s"             => \my $log,
  ) or die qq($help_info);

-
- if (-e "/etc/systemimager/overrides") {
-   open (FH, "/etc/systemimager/overrides");
-   while (<FH>) {
-     chomp;
-     push (@overrides, $_);
-   }
-   close (FH);
- }
-
  # if requested, print version information
  if($version) {
      version();
--- 124,129 ----

I think this modification could also be useful for
other users.

I run dsh -a -c "/root/updateclient -server sysimager
-image sarge_020506" to update all my clients, each
with its particular configuration.

I would be happy if the code could be included into the
distribution.

Thank you for the great tool!

Timm

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1484682&group_id=259


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to