Lenz, Fabian wrote:
When you boot from CD, there comes the Question, if you want to install or if you want to boot the local System, it is not possible to build in something like this? You can always have something like that using an option in the pxe config. Just adding a new entry for local boot which will be the default, but then you need to do the selection everytime, even when you are auto-installing. So its not an alternative, unless you switch configuration in runtime and after the system has installed. This is code on the CD is implemented in isolinux and once you have booted the kernel, its too late.
You load the kernel over the network and ask then, if you want to install or start the installed system.
Then its too late.
Using syslog-ng on the remote logging server (boot server) you could use something like that:
destination tftp { program("/usr/local/bin/client-booting"); }; #destination tftp { file("/var/log/openwbem"); }; log { source(src); filter(f_tftp); destination(tftp); };
in syslog-ng.conf and let the script do the magic :-)
This is a fine idea. i will test it.
Or I could add a message to the yast2 log which now supports syslog and remote logging which says that it safe to change the config files on the boot server. Such a message can be identified using a filter in syslog-ng and the switching from netboot to localboot can be done.
Which version supports syslog? This idea i think is the best, so you have a status and you can switch.
The upcoming version...
The idea from Bjørn is very easy and not bad, but when you have more than 100 PC´s, you look for a better way. ;-)
Anas