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

RE: Cloning OpenBSD disks



I meant the install/upgrade script used by the project on a new
installation/upgrade.. It asks most if not all of that and could
probably be easily adapted to your needs.

Shawn Wilton
Black9 Systems & Networks / WankSoft Software
 
Jabber/Email: Shawn@Black9.Net
 
Http://Black9.net
Http://Wanksoft.com
 
 


-----Original Message-----
From: owner-tech@openbsd.org [mailto:owner-tech@openbsd.org] On Behalf
Of Bob Beck
Sent: Friday, December 07, 2001 1:25 PM
To: Shawn@Black9.Net
Cc: 'Timothy G. Wesemann'; tech@openbsd.org
Subject: 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