Donald Teed wrote:
On Fri, 9 Jan 2004, Alain Knaff wrote:
For instance, to get one machines image to a file, do the following:
[A] On the machine itself: boot up the udpcast floppy or CD, just like you would for a normal transfer. Chose sender [B] On the machine were you want to store the image file: launch "udp-receiver -f image-file"
More examples in the documentation would probably help. When you say -f takes a file, it is difficult to know whether that means /dev/hda or something like /usr/templates/IBM_master_template.gz since everything in Unix is a file.
It is whatever you want to clone. In your case, it seems to be the template file that you want to send.
In the case of udp-receiver on the server, I'd think it should be something like /usr/templates/IBM_master_template.gz
I think you mean udp-sender on the server ...
Now the reverse trip, to make the clones...
The server would run something like:
udp-sender -f /usr/templates/IBM_master_template.gz --min-clients 20
(assuming i want it to start after all 20 machines have connected)
while the target machines would boot a floppy or off the PXE to launch the receiver built into it.
Do I have this right?
I've not used the floppy because it doesn't come with my SCSI driver, but you want the target file on the client to be something like /dev/hda. You'll also want to uncompress that image file before you send it, unless you're just trying to transfer the image itself as a file.
It is partly difficult to understand because of the floppy menu not forming a visible part of the udpcast source package and man pages. Coming from the g4u I am expecting a shell script and executables on the floppy, but I have yet to run it.
You have yet to run the floppy? It asks you what to do...
On Fri, 9 Jan 2004, Alain Knaff wrote:
[A] On the machine itself: boot up the udpcast floppy or CD, just like you would for a normal transfer. Chose sender [B] On the machine were you want to store the image file: launch "udp-receiver -f image-file"
[A] above implies that if there is a 'sender' option on the floppy, there is probably also a 'receiver' option. This is the one you'd want. On the server, I think you have the basic idea down. Again, not having used the floppy, I don't know if you can have the floppy udp-receiver pipe through gunzip before writing. You'll have to try it and see.
rgds, Chris