Dear all,

I'm working on si_netbootmond (in fact working on OSCAR side) and discovered 
that 
si_netbootmond rely on the fact that the imaging method is rsync.
It monitors the rsyncd log file for magic works stating that imaging is 
complete.

There are 2 problems here:
1/ It doesn't work for deployment using flamethrower /multicast or bittorrent
2/ If a client is successfully imaged, this doesn't mean that it is able to 
reboot (bad 
image, bad bootloader, ...) in this situation, setting local boot is wrong.

I see 3 solutions:
1/ replace the actual code that scans /var/log/systemimager/rsyncd for magic 
words for magic words: /scripts\/imaging_complete_?([\.0-9]+)?/
with something that would do something like
use File::Monitor;
my $monitor = File::Monitor->new();$monitor->watch('somefile.txt');




Regards,

Olivier.

-- 
    Olivier Lahaye
    DRT/LIST/DIR
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to