On Wed, May 14, 2008 at 10:54:20AM +0300, Noam Rathaus wrote: > Hi, > > We have been duplicating an image of our OS for years now - using a PXE, > anaconda and dumping of a tar.gz file. > > We have now moved on from RedHat to a more supported flavor Debian. > > I wondered if anyone knows of a more advanced or better way of doing the > above > dumping of the tar.gz? > > Basically this is what I need: > 1) Boot > 2) Partition the HD > 3) mkfs > 4) Start the network driver > 5) DHCP on it > 6) TFTP get tar.gz file and dump it into the HD > 7) done (reboot)
tftp? huh? any reason you want to use tftp and not http? For larger files it is less relible. Anyway, this is something you can do with a a standard network installation, using a bit of preseeding to automate the process. Specifically you can also run custom shell commands at some stages in the installation, and thus you can wget (or tftp-get) a file and extract it. But another option is to package those files in a deb from a local repository and install it. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
