Process for cloning freebsd

Bill Moran wmoran at collaborativefusion.com
Wed Jun 14 12:16:01 UTC 2006


In response to "Gary" <gary at pattersonsoftware.com>:
> 
> I intend to clone a master freebsd box (6.1-stable) so that I can roll boxes
> as fast as possible. These won't be identical machines btw. This comes up
> from time to time, but I wanted to specifically check security concerns and
> other things.
> 
> What sensitive information may be copied that must be removed/regenerated?
> For example, ssh keys. How would these be regenerated (like the screenful of
> junk with a new install)?

/etc/rc.d/sshd has the commands that are used to accomplish that.  It's
just making sure there is enough entropy in /dev/random, then using
ssh-keygen.

> Are there any other similar security issues? How about any other unexpected
> problems? I'm thinking I only need to change the hostname

I've done this -- haven't had any problems that I can remember.

> I was planning to Ghost the harddrives.

Anything that allows you duplicate the HDD will work.

-- 
Bill Moran
Collaborative Fusion Inc.


More information about the freebsd-questions mailing list