[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cloning OpenBSD disks



	I've cloned bucketloads of machines either with small
shell scripts that dump/restore each filesystem and installboot
after. The "unconfigure" is ususally something akin to simply
rm /etc/hostname.XXX, and then change /etc/hostname.XXX /etc/mygate
and /etc/myname to reflect what I want the new machine to be. If
you think you can generalize that process, well, feel free to
post a script.

        The other option for building lots of machines that are the
same is make a site30.tgz file containing all your additions to the
distibution rooted at /. If you have it (among other things) extract
an executable script named "install.site" into / that script will be
run at the end of the standard install scripts. So, done right, you
can intstall your "site30.tgz" file in addition to the standard sets
and then just use the regular installer if you want to be able to
interactively mess with the changes on each machine. 

     -Bob